Ejemplo n.º 1
0
 void Start()
 {
     gameController = GameObject.Find("GlobalScriptsText").GetComponent <GameControllerExplo>();
 }
Ejemplo n.º 2
0
 void Start()
 {
     _rigidbody     = GetComponent <Rigidbody>();
     _isEnemy       = gameObject.tag == "Enemy";
     gameController = GameObject.Find("GlobalScriptsText").GetComponent <GameControllerExplo>();
 }