diff --git a/Assets/Scripts/SelectLevel.cs b/Assets/Scripts/SelectLevel.cs index 34b15404..d22fc1af 100644 --- a/Assets/Scripts/SelectLevel.cs +++ b/Assets/Scripts/SelectLevel.cs @@ -1,5 +1,6 @@ using UnityEngine; using UnityEngine.SceneManagement; +using Valve.VR; using Valve.VR.InteractionSystem; [RequireComponent(typeof(Interactable))] @@ -20,7 +21,7 @@ void OnHandHoverBegin(Hand hand) void HandHoverUpdate(Hand hand) { - if (hand.GetStandardInteractionButton()) + if (hand.controller.GetPressDown(EVRButtonId.k_EButton_SteamVR_Trigger)) { if (!isLoadingLevel) {