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
privateconststringXRPipelineIntro="To build applications for AR/VR headsets you need to enable an XR pipeline. ";
26
+
privateconststringXRPipelineIntro="To build applications for AR/VR devices you need to enable an XR pipeline. Please make sure you are targeting the desired build target before proceeding. ";
27
27
privateconststringAlternativePipelineText="\n\nFor more information on alternative pipelines, please click on the Learn More button.";
28
28
privatereadonlyGUIContentApplyButtonContent=newGUIContent("Apply","Apply configurations to this Unity Project");
29
29
privatereadonlyGUIContentSkipButtonContent=newGUIContent("Skip This Step","Skip to the next step");
EditorGUILayout.LabelField(XRPipelineIntro+$"\n\nThe XR SDK pipeline with Unity and Microsoft OpenXR plugins are detected in the project. You are good to go.",EditorStyles.wordWrappedLabel);
EditorGUILayout.LabelField("<size=18><b>Important - for first time setup only</b></size>\n\nIf you are setting up OpenXR <b>for the first time and are targeting HoloLens 2</b>, "+
296
+
"click on the Apply Settings button below to apply recommended project settings <b>before clicking Next</b>. You can safely proceed (click Next) if there is no error message or only one regarding Holographic Remoting for Play Mode.\n"+
297
+
"If you are targeting Windows Mixed Reality headset or prefer setting up manually, click on the Learn More button and refer to the manual setup section.",richTextLabelStyle);
298
+
CreateSpace(30);
291
299
using(newEditorGUILayout.HorizontalScope())
292
300
{
301
+
if(GUILayout.Button("Apply Settings"))
302
+
{
303
+
Debug.Log(MRTKConfiguratorLogPrefix+" Applying recommended project settings for HoloLens 2. Operation performed is equivalent to clicking on Mixed Reality -> Project -> Apply recommended project settings for HoloLens 2.");
304
+
EditorApplication.ExecuteMenuItem("Mixed Reality/Project/Apply recommended project settings for HoloLens 2");
0 commit comments