Write on screen during story
This commit is contained in:
parent
ba0252298c
commit
49c4fc63f0
4 changed files with 296 additions and 5 deletions
|
|
@ -4,8 +4,9 @@ using UnityEngine;
|
|||
|
||||
public class Scene_Chapter1_Cave: StoryScene
|
||||
{
|
||||
public override IEnumerator Play() {
|
||||
public override IEnumerator Play(StoryController storyController) {
|
||||
Debug.Log("OMG monsters!");
|
||||
storyController.storyText.text = "OMG monsters!";
|
||||
yield return new WaitForSeconds(2f);
|
||||
|
||||
BattleParameters battleParameters = BuildBattleGolemBats();
|
||||
|
|
@ -15,7 +16,7 @@ public class Scene_Chapter1_Cave: StoryScene
|
|||
private BattleParameters BuildBattleGolemBats() {
|
||||
BattleParameters battleParameters = new BattleParameters();
|
||||
PartyManager.SetupBattleParameters(battleParameters);
|
||||
|
||||
|
||||
MonsterId[] monsterIds = new MonsterId[3] {
|
||||
MonsterId.Golem,
|
||||
MonsterId.Bat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue