예제 #1
0
 public void RunAnimation(int a, int b, float speed, bool loop)
 {
     animation = new Animation (this, ReIndex1D (a), ReIndex1D (b), speed, loop);
     this.RunAction (animation);
 }
예제 #2
0
 /// <summary>
 /// 播放动画
 /// </summary>
 /// <param name='speed'>
 /// 动画速度
 /// </param>
 public void RunAnimation(float speed)
 {
     animation = new Animation (this, speed);
     this.RunAction (animation);
 }