Пример #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();
         }
     });
 }