Set background in story
This commit is contained in:
parent
3b9a6f361d
commit
43406a8c13
5 changed files with 103 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ using UnityEngine;
|
|||
public class Scene_Chapter1_Cave: StoryScene
|
||||
{
|
||||
public override IEnumerator Play(StoryDisplay storyDisplay) {
|
||||
storyDisplay.SetBackground("BGCave");
|
||||
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return storyDisplay.DisplayText("OMG monsters!", DialogPosition.Right);
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue