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
Debug.LogWarning("There is no prperly configured XR pipeline in the project! Please run the configurator by clicking on Mixed Reality (menu bar) -> Toolkit -> Utilities -> Configure Project for MRTK if the current settings are not desired.");
109
+
Debug.LogWarning("There is no properly configured XR pipeline in the project! Please run the configurator by clicking on Mixed Reality (menu bar) -> Toolkit -> Utilities -> Configure Project for MRTK if the current settings are not desired.");
Copy file name to clipboardExpand all lines: Assets/MRTK/Core/Inspectors/Setup/MixedRealityProjectConfiguratorWindow.cs
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,15 @@ public class MixedRealityProjectConfiguratorWindow : EditorWindow
19
19
{
20
20
privateconstfloatDefault_Window_Height=500.0f;
21
21
privateconstfloatDefault_Window_Width=300.0f;
22
-
privateconststringXRPipelineDocsUrl="Pipeline docs not yet available";
22
+
privateconststringXRPipelineDocsUrl="https://docs.microsoft.com/windows/mixed-reality/develop/unity/choosing-unity-version";// Putting the generic MR docs on Unity versions/pipelines here before the MRTK XR pipeline doc is published.
privateconststringXRPipelineIntro="To build applications for AR/VR headsets you need to enable an XR pipeline. ";
26
26
privateconststringAlternativePipelineText="\n\nFor more information on alternative pipelines, please click on the Learn More button.";
27
27
privatereadonlyGUIContentApplyButtonContent=newGUIContent("Apply","Apply configurations to this Unity Project");
28
-
privatereadonlyGUIContentSkipButtonContent=newGUIContent("Skip","Skip to next step");
29
-
privatereadonlyGUIContentLaterButtonContent=newGUIContent("Later","Do not show this pop-up notification until next session");
30
-
privatereadonlyGUIContentIgnoreButtonContent=newGUIContent("Ignore","Modify this preference under Edit > Project Settings > Mixed Reality Toolkit");
28
+
privatereadonlyGUIContentSkipButtonContent=newGUIContent("Skip This Step","Skip to the next step");
29
+
privatereadonlyGUIContentLaterButtonContent=newGUIContent("Skip Setup Until Next Session","Do not show this configurator until next session");
30
+
privatereadonlyGUIContentIgnoreButtonContent=newGUIContent("Always Skip Setup","This configurator will not show up again unless manually launched by clicking Mixed Reality (menu bar) -> Toolkit -> Utilities -> Configure Project for MRTK\nor this preference modified under Edit -> Project Settings -> Mixed Reality Toolkit");
+"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))
+"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))
378
+
+"Choose this if your application needs to support platforms beyond just HoloLens 2 and Windows Mixed Reality headsets (e.g. Oculus/Magic Leap headsets which are currently not supported via OpenXR).\n",multiLineButtonStyle))
EditorGUILayout.LabelField("To enable the XR SDK pipeline with built-in Plugins (non-OpenXR), follow the steps below:"
412
413
+"\n\n1. Press the Show Settings button."
413
-
+"\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."
414
-
+"\n3. Check the plugin(s) you want to use based on your target device."
414
+
+"\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."
415
+
+"\n3. Check the plugin(s) you want to use based on your target device."
415
416
+"\n\nA new page confirming the setup is successful will be shown in place of this page once you finish the steps."
416
417
+$"\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("XR Pipeline Setting - Enabling the XR SDK Pipeline with OpenXR",EditorStyles.boldLabel);
444
445
445
-
EditorGUILayout.LabelField("To enable the XR SDK pipeline with OpenXR, first press the Show Settings button. "
446
-
+$"\n\nIn the XR management plug-in window that shows up, please switch to the correct build target (e.g. UWP, Windows standalone) tab first by clicking on the icon(s) right below the XR Plug-in Management title. "
447
-
+"Then please check the OpenXR plugin. A new page confirming the detection of OpenXR will be shown in place of this page once you finish the steps.",EditorStyles.wordWrappedLabel);
446
+
EditorGUILayout.LabelField("To enable the XR SDK pipeline with OpenXR follow the instructions below."
447
+
+"\n\n1. Press the Show Settings button."
448
+
+"\n2. In the XR management plug-in window that shows up, please switch to the correct build target (e.g. UWP, Windows standalone) tab by clicking on the icon(s) right below the XR Plug-in Management title."
449
+
+"\n3. Check the checkbox for OpenXR plugin. A new page confirming the detection of OpenXR will be shown in place of this page once you finish the steps."
EditorGUILayout.LabelField("XR Pipeline Setting - Installing the Microsoft OpenXR plugin",EditorStyles.boldLabel);
468
471
469
472
EditorGUILayout.LabelField("To target HoloLens 2 or HP Reverb G2 headset you need to install the Microsoft OpenXR plugin by following the instructions below."
470
-
+"\n\n1. Press the Show instructions button."
473
+
+"\n\n1. Press the Show Instructions button."
471
474
+"\n2. Follow the instructions in the Manual setup without MRTK section as MRTK is already in the project. Also you do not need to manually select MRTK in the feature tool no matter it is shown as installed or not."
472
475
+"\n3. Keep this window and the Unity project open during the process. A new page confirming the setup is successful will be shown in place of this page once you finish the steps."
EditorGUILayout.LabelField("The MRTK Examples package includes samples to help you familiarize yourself with many core features."
572
+
EditorGUILayout.LabelField("The MRTK Examples package includes samples to help you familiarize yourself with many core features."
570
573
+"\nSince you imported MRTK via MRFT/UPM the examples no longer show up in the Assets folder automatically. They are now located at Window (menu bar) -> Package Manager "
571
574
+"-> Select In Project in the \"Packages:\" dropdown -> Mixed Reality Toolkit Examples",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"
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."
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."
599
+
+$"\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."
600
+
+"\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."
598
601
+"\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);
622
625
623
-
EditorGUILayout.LabelField(showSkipButton?"You may choose to skip this step, 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."
0 commit comments