예제 #1
0
 public void DisableImmediate()
 {
     if (UIManager.Disable(this))
     {
         OnDisable();
         locale.Unload();
         Active = false;
         OnGUI  = null;
     }
 }
예제 #2
0
 public void EnableNext(GUIBase next)
 {
     if (!Active)
     {
         return;
     }
     OnGUI = animator.StartClose(() =>
     {
         if (UIManager.Disable(this))
         {
             OnDisable();
             locale.Unload();
             Active = false;
             next.Enable();
         }
     });
 }