Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

2D Animation Control

Discussion in 'Animation' started by Keegz, Sep 8, 2014.

  1. Keegz

    Keegz

    Joined:
    May 27, 2013
    Posts:
    2
    Hi I have been searching the threads, and I haven't been able to find something yet that can help me. Perhaps I am just not looking properly.

    I have created a sprite animation, but now I want it to stop looping and stop on the last frame. Also I want to make it so that when the player clicks restart that the animation plays again and stops on the last frame.

    Please can you help I am still new to Unity.
     
  2. Nicrom

    Nicrom

    Joined:
    Nov 17, 2013
    Posts:
    421
    To make an animation play only once, select this animation in the Project tab and in the Inspector disable Loop Time. As for your second question, that is a little more complex, I suggest you take a look at the Tutorials section or the Live Training.