// Use this for initialization void Start() { // INTERSANTE LO QUE HAGO ABAJO, REPASAR GameObject enemiControllerObject = GameObject.FindWithTag("enemi"); // Creo instancia del enemiController. if (enemiControllerObject != null) { enemiControl = enemiControllerObject.GetComponent <enemiController> (); } if (enemiControl == null) { Debug.Log("NO PUEDO ENCONTRAR EL 'enemiController' script"); } }