private void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { print("PlayerHit"); player.DisablePlayer(); } }