예제 #1
0
    /// <summary>
    /// Responsible for loading all of the current choices from the story manager.
    /// </summary>

    public void LoadCurrentChoices()
    {
        ResetChoices();

        var currentState = storyManager.GetCurrentStoryState();

        nextStates = currentState.GetNextStates();

        if (nextStates.Length > 0)
        {
            for (int i = 0; i < nextStates.Length; i++)
            {
                SpawnChoice(i);
            }
        }
    }