2 using System.Collections;
6 private GameObject text;
7 public GameObject Camera;
11 text = transform.Find (
"PleaseStandHere").gameObject;
17 if (Time.frameCount > 5 && Time.time > 2) {
18 if ((text.transform.position - Camera.transform.position).magnitude < 0.35f) {
19 GameObject.Destroy (text);
21 Platform.instance.activateUIMesh ();