You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to specify an XR pipeline. "
199
-
#if UNITY_2019_3_OR_NEWER
200
-
+$"Unity currently provides the following pipelines in this version ({Application.unityVersion}). Please choose the one you would like to use:"
201
-
+$"\n\nLegacy XR (Recommended) - Choose this if you want maximum stability and are willing to spend more effort when upgrading the project to Unity 2020. Supports HoloLens, Windows Mixed Reality/OpenVR/Oculus headset."
202
-
+$"\n\nXR SDK/XR Management - Choose this if you want to have a smoother upgrade path to Unity 2020. Supports HoloLens, Windows Mixed Reality/Oculus/Magic Leap headset. Note: do NOT choose this if you anticipate using Azure Spatial Anchors as there is a known compatibility issue."
206
+
EditorGUILayout.LabelField(XRPipelineIntro
207
+
#if !UNITY_2019_3_OR_NEWER
208
+
+$"Unity currently provides the Legacy XR pipeline in this version ({Application.unityVersion}). Please click on the Enable Legacy XR button if you are targeting AR/VR headsets (e.g. HoloLens, Windows Mixed Reality headset, OpenVR headset etc.). "
203
209
#else
204
-
+$"Unity currently provides the Legacy XR pipeline in this version ({Application.unityVersion}). Please click on the Enable Legacy XR button if you are targeting AR/VR headsets (e.g. HoloLens, Windows Mixed Reality headset, OpenVR headset etc.). "
210
+
+$"Unity currently provides the following pipelines in this version ({Application.unityVersion}). Please choose the one you would like to use. "
205
211
#endif // UNITY_2019_3_OR_NEWER
206
-
+"\n\n\nYou may also skip this step and configure manually later.",EditorStyles.wordWrappedLabel);
212
+
+"You may also skip this step and configure manually later.",EditorStyles.wordWrappedLabel);
+"Choose this if you want maximum stability and are willing to spend more effort when upgrading the project to Unity 2020. Supports HoloLens and Windows Mixed Reality/OpenVR headsets.\n",multiLineButtonStyle))
+"Choose this if you want to have a smoother upgrade path to Unity 2020. Supports HoloLens and Windows Mixed Reality/Oculus headsets. Note: do NOT choose this if you anticipate using Azure Spatial Anchors as there is a known compatibility issue.\n",multiLineButtonStyle))
EditorGUILayout.LabelField("XR Pipeline Setting - LegacyXR in use",EditorStyles.boldLabel);
244
-
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to specify an XR pipeline. "
260
+
EditorGUILayout.LabelField(XRPipelineIntro
245
261
+$"\n\nThe LegacyXR pipeline is detected in the project. Please be aware that the LegacyXR pipeline is deprecated in Unity 2019 and is removed in Unity 2020."
246
-
+$"\n\nFor more information on alternative pipelines, please click on the Learn more button.",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("XR Pipeline Setting - Enabling the XR SDK Pipeline",EditorStyles.boldLabel);
345
-
EditorGUILayout.LabelField("To build applications for AR/VR headsets you need to enable an XR pipeline. "
346
-
+"With the XR SDK pipeline there are two categories of provider plugins:"
347
-
+$"\n\nUnity OpenXR plugin (recommended) - Choose this if you want to embrace the new industry standard and easily support a wide range of AR/VR devices in the future! Currently officially supports HoloLens 2 and Windows Mixed Reality headsets with other devices coming soon."
348
-
+"\nBuilt-in Unity plugin (non-OpenXR) - Choose this if your application needs to support platforms beyond just HoloLens 2 and Windows Mixed Reality headsets (e.g. needs to support Oculus/Magic Leap headsets) today."
349
-
+$"\n\nFor more information, please click on the Learn more button.",EditorStyles.wordWrappedLabel);
361
+
EditorGUILayout.LabelField(XRPipelineIntro
362
+
+"With the XR SDK pipeline there are two categories of provider plugins:",EditorStyles.wordWrappedLabel);
+"Choose this if you want to embrace the new industry standard and easily support a wide range of AR/VR devices in the future! Currently officially supports HoloLens 2 and Windows Mixed Reality headsets with other devices coming soon.\n",multiLineButtonStyle))
352
367
{
353
-
if(GUILayout.Button("Use the Unity OpenXR plugin (recommended)"))
+"Choose this if your application needs to support platforms beyond just HoloLens 2 and Windows Mixed Reality headsets (e.g. needs to support Oculus/Magic Leap headsets) today.\n",multiLineButtonStyle))
+"\n2. In the XR management plug-in window that shows up, switch to the current build target (e.g. UWP, Windows standalone) tab by clicking on the corresponding icon right below the XR Plug-in Management title. "
396
414
+"\n3. Check the plugin(s) you want to use based on your target device. "
397
415
+"\n\nA new page confirming the setup is successful will be shown in place of this page once you finish the steps."
398
-
+$"\n\nFor more information, please click on the Learn more button. (Only the first three steps are needed if following instructions on the page)",EditorStyles.wordWrappedLabel);
416
+
+$"\n\nFor more information, please click on the Learn More button. (Only the first three steps are needed if following instructions on the page)",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("You have finished setting up the project for Mixed Reality Toolkit. You may go through this process again by clicking on Mixed Reality (menu bar) -> Toolkit -> Utilities -> Configure Project for MRTK"
578
-
+$"\n\nIf there are certain settings not set according to the recommendation you may see this configurator popping up again. You may use the Ignore or Later button to suppress the behavior. "
596
+
+$"\n\nIf there are certain settings not set according to the recommendation you may see this configurator pops up again. Use the Ignore or Later button to suppress this behavior. "
579
597
+"\n\nWe hope you enjoy using MRTK. Please find the links to our documentation and API references below. If you encountered something looking like a bug please report by opening an issue in our repository. "
580
598
+"\n\nThese links are accessible through Mixed Reality (menu bar) -> Toolkit -> Help.",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("Not ready to setup the project now?",EditorStyles.boldLabel);
604
622
605
623
EditorGUILayout.LabelField(showSkipButton?"You may choose to skip this step, delay the setup until next session or ignore the setup unless reenabled.":
606
-
"You may choose to delay the setup until next session or ignore the setup unless reenabled."
624
+
"You may choose to setup the project in the next session or ignore the setup for future sessions."
607
625
,EditorStyles.wordWrappedLabel);
608
626
CreateSpace(15);
609
627
using(newEditorGUILayout.HorizontalScope())
@@ -779,7 +797,7 @@ public void RenderConfigurations()
0 commit comments