void SetInitialReferences()
 {
     if (FindObjectOfType <GameManagerMaster>().GetComponent <GameManagerNPCRelationsMaster>() != null)
     {
         nPCRelationsMaster = FindObjectOfType <GameManagerMaster>().GetComponent <GameManagerNPCRelationsMaster>();
     }
 }
Exemplo n.º 2
0
 void SetInitialReferences()
 {
     destructibleMaster = GetComponent <DestructibleMaster>();
     if (FindObjectOfType <GameManagerMaster>().GetComponent <GameManagerNPCRelationsMaster>() != null)
     {
         nPCRelationsMaster = FindObjectOfType <GameManagerMaster>().GetComponent <GameManagerNPCRelationsMaster>();
     }
     if (playerTag == "")
     {
         playerTag = "Player";
     }
 }
 void SetInitialReferences()
 {
     nPCRelationsMaster = GetComponent <GameManagerNPCRelationsMaster>();
     gameManagerMaster  = GetComponent <GameManagerMaster>();
 }
Exemplo n.º 4
0
 void SetInitialReferences()
 {
     nPCMaster          = GetComponent <NPCMaster>();
     nPCRelationsMaster = FindObjectOfType <GameManagerMaster>().GetComponent <GameManagerNPCRelationsMaster>();
     nPCStatePattern    = GetComponent <NPCStatePattern>();
 }