Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Help Wanted End of Animation

Discussion in 'Animation' started by glgamesforfun, Jul 20, 2021.

  1. glgamesforfun

    glgamesforfun

    Joined:
    Apr 13, 2021
    Posts:
    99
    Hello,
    I have an animation that runs in a loop and when the animation would end (it's in a loop), a value (float) should be increased. How can I change the value in the code after the animation?
    Thanks for your help in advance.
     
    Last edited: Jul 20, 2021
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    1,878
    Put an Animation Event at the end of the animation.
     
  3. glgamesforfun

    glgamesforfun

    Joined:
    Apr 13, 2021
    Posts:
    99
    Ok thanks.
     
unityunity