/// <summary>
        /// Presents choices at the current story node
        /// </summary>
        void PresentChoices()
        {
            if (debug)
            {
                this.Log("Presenting dialog choices!");
            }

            var choicesEvent = new StratusStory.PresentChoicesEvent();

            choicesEvent.choices = story.runtime.currentChoices.ToArray(x => new StratusStoryChoice(x));
            StratusScene.Dispatch <StratusStory.PresentChoicesEvent>(choicesEvent);
        }
Exemple #2
0
 /// <summary>
 /// Called upon when the current conversation presents choices to the player.
 /// </summary>
 /// <param name="e"></param>
 void OnStoryPresentChoicesEvent(StratusStory.PresentChoicesEvent e)
 {
     OnPresentChoices(e.choices);
 }