void SetInitialReference() { gameManager_Master = GetComponent <GameManager_Master>(); if (toggleInventoryButton == "") { Debug.LogWarning("Please Type in the name of the button used to toggle the inventory"); this.enabled = false; } }
void setInitialReferences() { gameManagerMaster = GetComponent <GameManager_Master>(); }
void SetInitialReferences() { gameManager_Master = GameObject.Find("GameManager").GetComponent <GameManager_Master>(); //playerMaster = GetComponent<PlayerMaster>(); }