Implement scene transition

This commit is contained in:
henriquenakashima 2020-09-28 23:07:12 -04:00
parent edc3abff84
commit 0b295af56b
6 changed files with 30 additions and 16 deletions

View file

@ -12,12 +12,10 @@ public class StoryBox : MonoBehaviour {
private bool clicked;
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;