- Home /
 
               Question by 
               yurii_671 · 5 days ago · 
                animation2dgameobjectanimation controller  
              
 
              How to reset an animation from Animation to beginning before turning the gameobejct off?
I have a 2d gameobject which plays a simple animation when you click a button which takes around 80 frames. I also have a button which disables and enables this gameobject. If I disable the gameobject while the animation is running and enable it back, the game object is frozen halfway through the animation. How can I reset the animation from Animation before disabling the object?
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to manage 2D animation states (of same behaviour) for multiple type of characters/enemies? 1 Answer
Animator - Stoping && Playing from Specific frames. 5 Answers
How to change animation controller for differnet weapons? 0 Answers
2D Animation does not start 1 Answer
Handling Movement - Animations 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                