コード例 #1
0
        void SetInitialReferences()
        {
            gameManagerMaster = GetComponent <GameManager_Master>();

            if (toggleInventoryButton == "")
            {
                Debug.LogWarning("Type in the name of Button used to Toggle the Inventory in "
                                 + "GameManager_ToggleInventoryUI");
                this.enabled = false;
            }
        }
コード例 #2
0
 void SetInitialReferences()
 {
     gameManagerMaster = GetComponent <GameManager_Master>();
 }
コード例 #3
0
ファイル: Player_Health.cs プロジェクト: olos00/BaseFramework
 void SetInitialReferences()
 {
     gameManagerMaster = GameObject.Find("GameManager").GetComponent <GameManager_Master>();
     playerMaster      = GetComponent <Player_Master>();
 }
コード例 #4
0
 void SetInitialReferences()
 {
     npcRelationsMaster = GetComponent <GameManager_NPCRelationsMaster>();
     gameManagerMaster  = GetComponent <GameManager_Master>();
 }