void SetInitRef()
    {
        mcp_Master = GetComponent <MCP_Master>();

        if (toggleInventoryButton == "")
        {
            Debug.LogWarning("TYPE IN THE NAME OF THE BUTTON USED FOR INVENTORY DUMMY.");
            this.enabled = false;
        }
    }
Beispiel #2
0
 void SetInitRef()
 {
     mcp_Master = GetComponent <MCP_Master>();
 }
Beispiel #3
0
 void SetInitRef()
 {
     mcp_Master    = GameObject.Find("MasterControlProgram").GetComponent <MCP_Master>();
     player_Master = GetComponent <Player_Master>();
 }