Implement scene transition
This commit is contained in:
parent
edc3abff84
commit
0b295af56b
6 changed files with 30 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue