예제 #1
0
                /// <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);
                }
예제 #2
0
        /// <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);
        }
예제 #3
0
 /// <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);
 }