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