private void OnTriggerEnter(Collider other) { if (other.tag == "Player" && other is CapsuleCollider) { buildingController.EnterCollider(); } }