// Use this for initialization
 void Start()
 {
     theTextBox = FindObjectOfType <textBoxManager> ();
     Debug.Log("start ATAL");
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     bc   = GetComponent <BoxCollider>();
     text = GetComponentInChildren <textBoxManager>();
 }
 void OnTriggerEnter(Collider other)
 {
     text = other.GetComponentInChildren <textBoxManager>();
 }
 void OnTriggerExit(Collider other)
 {
     text = null;
 }
Example #5
0
	// Use this for initialization
	void Start () {
		theTextBox = FindObjectOfType<textBoxManager> ();
		Debug.Log("start ATAL");
	}