/// <summary> /// Presents choices at the current story node /// </summary> void PresentChoices() { if (debug) { Trace.Script("Presenting dialog choices!"); } var choicesEvent = new Story.PresentChoicesEvent(); choicesEvent.Choices = story.runtime.currentChoices; Scene.Dispatch <Story.PresentChoicesEvent>(choicesEvent); }
/// <summary> /// Presents choices at the current story node /// </summary> void PresentChoices() { if (debug) { StratusDebug.Log("Presenting dialog choices!"); } var choicesEvent = new Story.PresentChoicesEvent(); choicesEvent.Choices = story.runtime.currentChoices; Scene.Dispatch <Story.PresentChoicesEvent>(choicesEvent); }
/// <summary> /// Called upon when the current conversation presents choices to the player. /// </summary> /// <param name="e"></param> void OnStoryPresentChoicesEvent(Story.PresentChoicesEvent e) { OnPresentChoices(e.Choices); }