SpriteAnimator.PlayIfNotPlaying(string, bool) Method
Definition¶
Namespace: Brine2D.Animation
Plays the animation if it is not already active. Returns false if it was already
playing.
public bool PlayIfNotPlaying(string animationName, bool restart=false);
Parameters¶
animationName System.String
restart System.Boolean