AnimationClip.RepeatCount Property
Number of full passes before firing OnAnimationComplete.
Only meaningful for Loop and PingPong.
0 (default) loops indefinitely. OnLoopComplete fires
on each pass regardless.
public int RepeatCount { get; set; }
Number of full passes before firing OnAnimationComplete.
Only meaningful for Loop and PingPong.
0 (default) loops indefinitely. OnLoopComplete fires
on each pass regardless.
public int RepeatCount { get; set; }