File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Assets/MRTK/Core/Inspectors/Utilities Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ internal class XRPipelineUtility
33
33
/// </summary>
34
34
public void Enable ( )
35
35
{
36
- tab = XRSettingsUtilities . IsLegacyXRActive ? 0 : 1 ;
36
+ tab = XRSettingsUtilities . LegacyXRAvailable ? 0 : 1 ;
37
37
}
38
38
39
39
/// <summary>
@@ -54,15 +54,15 @@ public void RenderXRPipelineTabs()
54
54
switch ( SelectedPipeline )
55
55
{
56
56
case SupportedUnityXRPipelines . LegacyXR :
57
- if ( ! XRSettingsUtilities . IsLegacyXRActive )
57
+ if ( ! XRSettingsUtilities . LegacyXREnabled )
58
58
{
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 ) ;
60
60
}
61
61
break ;
62
62
case SupportedUnityXRPipelines . XRSDK :
63
- if ( XRSettingsUtilities . IsLegacyXRActive )
63
+ if ( ! XRSettingsUtilities . XRSDKEnabled )
64
64
{
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 ) ;
66
66
}
67
67
break ;
68
68
}
You can’t perform that action at this time.
0 commit comments