Create text box in story
This commit is contained in:
parent
1e87d1d35f
commit
8eecb71a38
83 changed files with 16544 additions and 25 deletions
|
|
@ -4,10 +4,9 @@ using UnityEngine;
|
|||
|
||||
public class Scene_Chapter1_Cave: StoryScene
|
||||
{
|
||||
public override IEnumerator Play(StoryController storyController) {
|
||||
Debug.Log("OMG monsters!");
|
||||
storyController.storyText.text = "OMG monsters!";
|
||||
yield return new WaitForSeconds(2f);
|
||||
public override IEnumerator Play(StoryDisplay storyDisplay) {
|
||||
yield return storyDisplay.DisplayText("OMG monsters!");
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
BattleParameters battleParameters = BuildBattleGolemBats();
|
||||
BattleSetup.StartBattle(battleParameters);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue