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