예제 #1
0
 public void EnableImmediate()
 {
     if (UIManager.Enable(this))
     {
         locale.Load();
         OnEnable();
         Active = true;
         OnGUI  = Draw;
     }
 }
예제 #2
0
 public void Enable()
 {
     if (Active)
     {
         return;
     }
     if (UIManager.Enable(this))
     {
         locale.Load();
         OnEnable();
         OnGUI  = animator.StartOpen(() => { });
         Active = true;
     }
 }