Create basic Story classes and parameterize monsters in Battle scene
This commit is contained in:
parent
6181a7d50c
commit
0d7f4f4954
17 changed files with 268 additions and 48 deletions
21
Assets/Story/StoryController.cs
Normal file
21
Assets/Story/StoryController.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class StoryController : MonoBehaviour
|
||||
{
|
||||
// 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());
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue