示例#1
0
 void checkForToggleMenuRequest()
 {
     if (Input.GetKeyUp(KeyCode.Escape) && !gameManagerMaster.isInventoryUI && !gameManagerMaster.isGameOver)
     {
         gameManagerMaster.callGameMenuToggleEvent();
     }
 }
示例#2
0
 void setMenuPanel()
 {
     menuPanel.SetActive(true);
     myInstructionPanel.SetActive(false);
     gameManagerMasterScript.callGameMenuToggleEvent();
 }