Beispiel #1
0
 protected virtual void OnClose()
 {
     IsHaveOpenedViewState.Push(false);
     if (IsBlockInput)
     {
         BaseInputMgr.PushPlayerInputState(true);
     }
 }
Beispiel #2
0
 protected virtual void OnOpen()
 {
     IsHaveOpenedViewState.Push(true);
     if (IsBlockInput)
     {
         BaseInputMgr.PushPlayerInputState(false);
     }
     if (IsOptionView)
     {
         foreach (var item in AllOptionUI)
         {
             if (item != this)
             {
                 item.Close();
             }
         }
     }
 }