I'm animating a 2d light in my scene, and the animation plays but it keeps looping, but I just want it to play once.
I know that it has a action for it to stop but it doesn't work for sprite unity 2d, I tried to kill, pause and resume the action list and the object (the light) but the animation just keeps going making a blink effect. Is there a way to kill it and keep using unity - based 2d animation?
unity 2021.2.7f1
ac 1.74.5
https://imgur.com/a/NVTdJG9
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Uncheck "Loop Time" in the AnimationClip asset's Inspector - that's what controls its looping when played back in the Animator.
all right! works just fine now.