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