예제 #1
0
 void HideTop()
 {
     MenuTPs.duration = tpsDuration[1];
     MenuTAs.duration = tasDuration[1];
     MenuTPs.PlayReverse();
     MenuTAs.PlayReverse();
     MenuTPs.onFinished.Clear();
     EventDelegate.Add(MenuTPs.onFinished, OnHideComplete);
 }
예제 #2
0
 public override void Hide()
 {
     if (isShow)
     {
         OnHideStart();
         isShow           = false;
         MenuTPs.duration = tpsDuration[1];
         MenuTAs.duration = tasDuration[1];
         MenuTPs.PlayReverse();
         MenuTAs.PlayReverse();
         MenuTPs.onFinished.Clear();
         EventDelegate.Add(MenuTPs.onFinished, OnHideComplete);
         EventDelegate.Execute(onHide);
     }
 }