private void FixedUpdate() { device = SteamVR_Controller.Input((int)trackedObject.index); if (device.GetPress(SteamVR_Controller.ButtonMask.Touchpad)) { if (isLeftHand) { playerMovementManager.DisplayTeleportMarker(); } } if (device.GetPressUp(SteamVR_Controller.ButtonMask.Touchpad)) { if (isLeftHand) { playerMovementManager.ClearTeleportMarker(); } } }