File tree Expand file tree Collapse file tree
Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VRPlatformSettings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ public override void OnPreferenceGUI()
318318 EditorGUILayout . BeginHorizontal ( ) ;
319319#if VIU_WAVEVR_HAND_TRACKING_CHECK
320320 {
321- var supported = Wave . XR . BuildCheck . CheckIfHandTrackingEnabled . ValidateEnabled ( ) && VRModuleSettings . activateWaveHandTrackingSubmodule ;
321+ var supported = EditorPrefs . GetBool ( "Wave/HandTracking/EnableHandTracking" , false ) && VRModuleSettings . activateWaveHandTrackingSubmodule ;
322322 var shouldSupport = EditorGUILayout . ToggleLeft ( new GUIContent ( enableWaveHandTrackingTitle ) , supported ) ;
323323 if ( supported != shouldSupport )
324324 {
@@ -370,7 +370,7 @@ public override void OnPreferenceGUI()
370370 EditorGUILayout . BeginHorizontal ( ) ;
371371#if VIU_WAVEVR_TRACKER_CHECK
372372 {
373- var supported = Wave . XR . BuildCheck . CheckIfTrackerEnabled . ValidateEnabled ( ) && VRModuleSettings . activateWaveTrackerSubmodule ;
373+ var supported = EditorPrefs . GetBool ( "Wave/Tracker/EnableTracker" , false ) && VRModuleSettings . activateWaveTrackerSubmodule ;
374374 var shouldSupport = EditorGUILayout . ToggleLeft ( new GUIContent ( enableWaveTrackerTitle ) , supported ) ;
375375 if ( supported != shouldSupport )
376376 {
You can’t perform that action at this time.
0 commit comments