File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/HoloToolkit/Utilities/Scripts/Editor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ private void UpdateSettings(BuildTarget currentBuildTarget)
244244 if ( ! Values [ ProjectSetting . TargetOccludedDevices ] )
245245 {
246246 EditorUserBuildSettings . wsaSubtarget = WSASubtarget . HoloLens ;
247- UnityEditorInternal . VR . VREditor . SetVREnabledDevicesOnTargetGroup ( BuildTargetGroup . WSA , new [ ] { "HoloLens " } ) ;
247+ UnityEditorInternal . VR . VREditor . SetVREnabledDevicesOnTargetGroup ( BuildTargetGroup . WSA , new [ ] { "WindowsMR " } ) ;
248248 PlayerSettings . WSA . SetCapability ( PlayerSettings . WSACapability . HumanInterfaceDevice , Values [ ProjectSetting . XboxControllerSupport ] ) ;
249249 BuildDeployPrefs . BuildPlatform = "x86" ;
250250
@@ -256,7 +256,7 @@ private void UpdateSettings(BuildTarget currentBuildTarget)
256256 else
257257 {
258258 EditorUserBuildSettings . wsaSubtarget = WSASubtarget . PC ;
259- UnityEditorInternal . VR . VREditor . SetVREnabledDevicesOnTargetGroup ( BuildTargetGroup . WSA , new [ ] { "stereo " } ) ;
259+ UnityEditorInternal . VR . VREditor . SetVREnabledDevicesOnTargetGroup ( BuildTargetGroup . WSA , new [ ] { "WindowsMR " } ) ;
260260 PlayerSettings . WSA . SetCapability ( PlayerSettings . WSACapability . HumanInterfaceDevice , false ) ;
261261 BuildDeployPrefs . BuildPlatform = "x64" ;
262262
You can’t perform that action at this time.
0 commit comments