mixedcards/Assets/Story/Scenes/Scene_Prologue_First.cs
2020-09-28 23:07:12 -04:00

32 lines
1.4 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Scene_Prologue_First: StoryScene {
public override IEnumerator Play(StoryDisplay storyDisplay) {
storyDisplay.SetBackground("BGNightSky");
yield return new WaitForSeconds(1f);
yield return storyDisplay.DisplayText("Are you going out again?", DialogPosition.Left);
yield return new WaitForSeconds(1f);
yield return storyDisplay.DisplayText("Yes.", DialogPosition.Right);
yield return new WaitForSeconds(1f);
yield return storyDisplay.DisplayText(
"Do you not get bored of doing the same things over and over? Seeing the same people, dealing with the same problems?",
DialogPosition.Left);
yield return new WaitForSeconds(1f);
yield return storyDisplay.DisplayText(
"Sometimes I feel like I'm imprisoned in my own life. Like I'm stuck in it, passing the time, until it ends.",
DialogPosition.Left);
yield return storyDisplay.DisplayText(
"Life is finite, after all. There is only so much you can do in it.",
DialogPosition.Left);
yield return new WaitForSeconds(2f);
yield return storyDisplay.DisplayText(
"Finite in time, yes. But infinite in possibilities...",
DialogPosition.Right);
yield return new WaitForSeconds(2f);
this.SetNextSceneId(SceneId.Chapter1_Cave);
}
}