//------------------------------------------------- private bool WasTeleportButtonPressed(VRTRIXGloveGrab hand) { if (IsEligibleForTeleport(hand)) { //if (hand.noSteamVRFallbackCamera != null) //{ // return Input.GetKeyDown(KeyCode.T); //} //else //{ //return hand.controller.GetPressDown(SteamVR_Controller.ButtonMask.Touchpad); //} return(hand.GetTeleportButtonDown()); } return(false); }