Add prologue, two story boxes

This commit is contained in:
henriquenakashima 2020-09-27 22:36:10 -04:00
parent 8119482922
commit 3b9a6f361d
10 changed files with 87 additions and 13 deletions

View file

@ -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;