Tag Info

New answers tagged

1

Uncheck the "Play Automatically" checkbox in the Inspector (Animation section). Obviously make sure you select the appropriate GameObject or prefab first. Then use animation.Play('yourAnimationName') in the appropriate event handler.



Top 50 recent answers are included