mixedcards/Assets/Story/StoryController.cs
2020-09-27 22:36:10 -04:00

24 lines
593 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StoryController : MonoBehaviour
{
public StoryDisplay storyDisplay;
// Start is called before the first frame update
void Start()
{
// TODO: Read which scene should be loaded.
//StoryScene scene = StorySceneDatabase.Load(SceneId.Chapter1_Cave);
StoryScene scene = StorySceneDatabase.Load(SceneId.Prologue_First);
StartCoroutine(scene.Play(this.storyDisplay));
}
// Update is called once per frame
void Update()
{
}
}