private void OnTriggerEnter(Collider other) { if (other.tag == "Player") { myDialog.PlayerEnter(other.transform); } }