Skip to content

Commit b67fcec

Browse files
author
lawwong
committed
Resolve warnings
1 parent 677624f commit b67fcec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/HTC.UnityPlugin/VRModule/VRModuleBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected static void SetupKnownDeviceModel(IVRModuleDeviceStateRW deviceState)
241241
deviceState.input2DType = VRModuleInput2DType.JoystickOnly;
242242
return;
243243
}
244-
else if (modelNumWithHmd.Contains("Rift S") || modelNumWithHmd.Contains("Quest"))
244+
else if (s_questRgx.IsMatch(modelNumWithHmd) || modelNumWithHmd.Contains("Rift S"))
245245
{
246246
deviceState.deviceModel = s_leftRgx.IsMatch(modelNumWithHmd) ? VRModuleDeviceModel.OculusQuestOrRiftSControllerLeft : VRModuleDeviceModel.OculusQuestOrRiftSControllerRight;
247247
deviceState.input2DType = VRModuleInput2DType.JoystickOnly;

Assets/HTC.UnityPlugin/ViveInputUtility/Scripts/Editor/VRPlatformSettings/WaveVRSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public override void OnPreferenceGUI()
403403
EditorGUI.BeginChangeCheck();
404404
#else
405405
GUI.enabled = false;
406-
EditorGUILayout.ToggleLeft(new GUIContent(enableWaveHandTrackingTitle, "Unity 2018.1 or later version required."), false, GUILayout.ExpandWidth(true));
406+
EditorGUILayout.ToggleLeft(new GUIContent(enableWaveTrackerTitle, "Unity 2018.1 or later version required."), false, GUILayout.ExpandWidth(true));
407407
GUI.enabled = true;
408408
#endif
409409
EditorGUILayout.EndHorizontal();

0 commit comments

Comments
 (0)