void OnTriggerEnter(Collider col) { if (col.tag == "Player" && !es.seesPlayer) { es.PlayerNearby(col.ClosestPoint(transform.position)); } }
void OnTriggerEnter(Collider col) { if (col.tag == "Player" && !es.seesPlayer) { es.PlayerNearby(col.ClosestPoint(transform.position)); } }