void SetInitialReferences()
 {
     gameMangagerMaster = GetComponent <GameManager_Master>();
     if (toggleInventoryButton == "")
     {
         Debug.LogWarning("Type in the name of the button to toggle inventory");
         this.enabled = false;
     }
 }
Ejemplo n.º 2
0
        void SetInitialReferences()
        {
            gameManagerMaster = GetComponent <GameManager_Master> ();

            if (toggleInventory == "Offense")
            {
                Debug.LogWarning("Please type in the name of the button used to toggle the inventory");
                this.enabled = false;
            }
        }
 void SetInitialReferences()
 {
     gameManagerMaster = GetComponent <GameManager_Master> ();
 }
Ejemplo n.º 4
0
 void SetInitialReferences()
 {
     gameManagerMaster = GameObject.Find("GameManager").GetComponent <GameManager_Master>();
     playerMaster      = GetComponent <Player_Master>();
 }