protected override void PlayerTrigger(bool enter = true) { if (enter) { if (teleporting) { teleporting = false; } else { portals.OnPortal(this); } } }