Add prologue, two story boxes
This commit is contained in:
parent
8119482922
commit
3b9a6f361d
10 changed files with 87 additions and 13 deletions
|
|
@ -11,15 +11,13 @@ public class StoryBox : MonoBehaviour {
|
|||
|
||||
private bool clicked;
|
||||
|
||||
void Awake() {
|
||||
this.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
void Start() {
|
||||
Debug.Log("StoryBox Start");
|
||||
this.button.onClick.AddListener(NotifyOnClick);
|
||||
}
|
||||
|
||||
public IEnumerator Display(string message) {
|
||||
Debug.Log("StoryBox Display");
|
||||
this.gameObject.SetActive(true);
|
||||
this.clicked = false;
|
||||
this.text.text = message;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue