private void Update() { if (currentInteractable != null && currentInteractable.isInteractable && player.GetButtonDown("InteractPrimary")) { currentInteractable.OnPrimaryInteract(); MoveOnInteract(); } }