public class TrophyRoomExit : vp_Interactable { public override void UpdateSeeing(bool isSeeing) { if (isSeeingMe != isSeeing) { TrophyRoomManager.Instance.trophyRoomGUI.ShowCursor(isSeeing); base.UpdateSeeing(isSeeing); } } private void Update() { if (UtilitiesInput.GetButtonDown("BOAT_ENTER")) { TryInteract(null); } } public override bool TryInteract(vp_PlayerEventHandler player) { if (m_Player == null) { m_Player = player; } if (!UtilitiesInput.GetButtonDown("BOAT_ENTER")) { return false; } Exit(); return true; } public void Exit() { TrophyRoomManager.Instance.EnterTrophyRoom(false); } }