示例#1
0
 private void CreateCombo(ref Animator animator, bool isFirstCreate)
 {
     if (!isFirstCreate)
     {
         AniUpdater.Dispose();
         AniUpdater = new AnimationInfoUpdater();
     }
     if (MotionTransParam.Length == 0)
     {
         AniUpdater.Start(animator);
     }
     else
     {
         mValueItem = MotionTransParam[CurrentCombo];
         AniUpdater.Start(animator, mValueItem);
         CurrentCombo++;
     }
 }
示例#2
0
 public void Stop()
 {
     AniUpdater.Stop();
 }