Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Help Wanted End of Animation

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

  1. glgamesforfun

    glgamesforfun

    Joined:
    Apr 13, 2021
    Posts:
    33
    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,760
    Put an Animation Event at the end of the animation.
     
  3. glgamesforfun

    glgamesforfun

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