Exemple #1
0
 public virtual void Stop(_Animation animation, bool clear = false)
 {
     animation.Stop(clear);
     currentlyPlayingAnimations.Remove(animation);
 }
Exemple #2
0
 public virtual void Play(_Animation animation, int startFrameIndex = 0, bool playForwards = true)
 {
     animation.Play(startFrameIndex, playForwards);
     currentlyPlayingAnimations.Add(animation);
 }