void initiate()
 {
     gameManagerMasterScript = GetComponent <GameManager_Master>();
     if (toggleInventoryButton == "")
     {
         Debug.LogWarning("Provide ToggleInventoryButton name first");
         this.enabled = false;
     }
 }
 void initiate()
 {
     gameManagerMasterScript = GetComponent <GameManager_Master>();
 }
 void initiate()
 {
     gameManagerMasterScript = GameObject.Find("GameManager").GetComponent <GameManager_Master>();
 }
 void initiate()
 {
     isCursorEnabled         = false;
     gameManagerMasterScript = GetComponent <GameManager_Master>();
 }
示例#5
0
 void Start()
 {
     gameManagerMaster.isMenuUI = false;
     gameManagerMaster          = GetComponent <GameManager_Master>();
 }
 void initiate()
 {
     isPaused          = true;
     gameManagerMaster = GetComponent <GameManager_Master>();
 }
 private void Start()
 {
     myScript = GetComponent <GameManager_Master>();
 }