Skip to content

Commit 65cc9ec

Browse files
committed
Fix up a few obsolete usages from the configurator PR
1 parent e07e811 commit 65cc9ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Assets/MRTK/Core/Inspectors/Utilities/XRPipelineUtility.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal class XRPipelineUtility
3333
/// </summary>
3434
public void Enable()
3535
{
36-
tab = XRSettingsUtilities.IsLegacyXRActive ? 0 : 1;
36+
tab = XRSettingsUtilities.LegacyXRAvailable ? 0 : 1;
3737
}
3838

3939
/// <summary>
@@ -54,15 +54,15 @@ public void RenderXRPipelineTabs()
5454
switch (SelectedPipeline)
5555
{
5656
case SupportedUnityXRPipelines.LegacyXR:
57-
if (!XRSettingsUtilities.IsLegacyXRActive)
57+
if (!XRSettingsUtilities.LegacyXREnabled)
5858
{
59-
EditorGUILayout.HelpBox("Legacy XR is not active, so this list will not be loaded at runtime.", MessageType.Info);
59+
EditorGUILayout.HelpBox("Legacy XR is not enabled, so this list will not be loaded at runtime.", MessageType.Info);
6060
}
6161
break;
6262
case SupportedUnityXRPipelines.XRSDK:
63-
if (XRSettingsUtilities.IsLegacyXRActive)
63+
if (!XRSettingsUtilities.XRSDKEnabled)
6464
{
65-
EditorGUILayout.HelpBox("XR SDK is not active, so this list will not be loaded at runtime.", MessageType.Info);
65+
EditorGUILayout.HelpBox("XR SDK is not enabled, so this list will not be loaded at runtime.", MessageType.Info);
6666
}
6767
break;
6868
}

0 commit comments

Comments
 (0)