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