Пример #1
0
 public void CompleteTween()
 {
     StopAllCoroutines();
     ResetTwinkle();
     BtnGroupSequence.Rewind();
     BtnGroupSequence.Complete();
 }
Пример #2
0
 public void StartTween(Action action = null)
 {
     StartTwinkleAnimation();
     BtnGroupSequence.OnComplete(() =>
     {
         if (action != null)
         {
             action();
         }
     }).Restart();
 }
Пример #3
0
 public void StartTween(Action action = null)
 {
     TwinkleObj(UIPart.BgGrid.gameObject, 0.5f, 0.03f);
     BtnGroupSequence.OnComplete(() =>
     {
         if (action != null)
         {
             action();
         }
     }).Restart();
 }
Пример #4
0
 public void StopTween()
 {
     BtnGroupSequence.Pause();
     UIPart.RecoverState();
 }
Пример #5
0
 public void PauseTween()
 {
     StopAllCoroutines();
     BtnGroupSequence.Pause();
     UIPart.RecoverState();
 }