public void TellStory(StoryTellingSystem stSystem)
    {
        if (story == null)
        {
            return;
        }
        if (IsStoryEnd)
        {
            SceneManager.LoadScene("2_Main");
        }

        if (currentStoryIndex >= story.functions.Count)
        {
            return;
        }
        ProppFunction currentFuntion = story.functions[currentStoryIndex];

        if (currentActionIndex >= currentFuntion.actions.Count)
        {
            return;
        }
        ProppAction currentAction = currentFuntion.actions[currentActionIndex];

        if (currentAction != null)
        {
            stSystem.DefaultSetting();
            currentAction.ShowAction(stSystem);
            currentAction.TellAction(stSystem);
        }
    }
 public override void ShowAction(StoryTellingSystem stSystem)
 {
     villainyAction.ShowAction(stSystem);
 }
Beispiel #3
0
 public override void ShowAction(StoryTellingSystem stSystem)
 {
     liquidationAction.ShowAction(stSystem);
 }