mixedcards/Assets/Story/StoryController.cs
2020-09-26 23:43:29 -04:00

24 lines
513 B
C#

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