示例#1
0
 void SetInitialReferences()
 {
     if (GameManager_References._player != null)
     {
         playerMaster = GameManager_References._player.GetComponent <Player_Master> ();
     }
 }
示例#2
0
 void SetInitialReferences()
 {
     inventoryUIScript = GameObject.Find("GameManager").GetComponent <GameManager_ToggleInventoryUI> ();
     playerMaster      = GetComponent <Player_Master> ();
 }
示例#3
0
 void SetInitialReferences()
 {
     playerMaster = GetComponent <Player_Master> ();
 }
示例#4
0
 void SetInitialReferences()
 {
     gameManagerMaster = GameObject.Find("GameManager").GetComponent <GameManager_Master> ();
     playerMaster      = GetComponent <Player_Master> ();
 }