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