Exemplo n.º 1
0
 void Awake()
 {
     // get references
     controller             = GetComponent <CharacterController>();
     textComponent          = textObject.GetComponent <TMP_Text>();
     NPCManager             = GameObject.Find("NPCManager");
     NPCRelationshipManager = NPCManager.GetComponent <NPCRelationshipManager>();
 }
 void Awake()
 {
     instance = this;
 }