void Awake() { DialogueManagerProxy.Open(this); m_Sentences = new Queue <Dialogue.ITextInterface> (); this.RegisterAsListener("Player", typeof(PlayerInputGameEvent)); this.RegisterAsListener("Dialogue", typeof(DialogueEvent)); }
void Awake() { DialogueManagerProxy.Open(this); this.RegisterAsListener("Player", typeof(PlayerInputGameEvent)); foreach (DialogueOptionButton optionButton in m_OptionButtons) { optionButton.Reset(); } }