private void StartConversationEventListener(Hashtable h) { string npcKey = NPCCharacterDialog.GetKeyFromHashtable(h); conversation = StoryManager.instance.GetNPCSpeech(npcKey).StartConversation(); InitialiseUIElements(conversation); }
void OnTriggerExit(Collider other) { if (other.tag == Constants.PLAYER_TAG) { button.gameObject.SetActive(false); NPCCharacterDialog.StopSpeakingToNpc(); } }
public void OnClickedShowSpeech() { NPCCharacterDialog.SpeakToNpc(key); button.gameObject.SetActive(false); EventManager.StartListening(Constants.EVENT_NPC_STOP_SPEAK, ShowButton); }