Example #1
0
 public static void GotoAndPlay(this IFramedAnimation animation, int frameIndex)
 {
     animation.GotoFrame(frameIndex);
     animation.IsPlaying = true;
 }
Example #2
0
 public static void GotoAndStop(this IFramedAnimation animation, int frameIndex)
 {
     animation.GotoFrame(frameIndex);
     animation.IsPlaying = false;
 }