XRSettingsUtilities.IsLegacyXRActive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Call LegacyXRAvailable instead.
Checks if an XR SDK plugin is installed that disables legacy XR. Returns false if so. Also returns false in Unity 2020 and above where Legacy XR has been removed.
public:
static property bool IsLegacyXRActive { bool get(); };
public static bool IsLegacyXRActive { get; }
[System.Obsolete("Call LegacyXRAvailable instead.")]
public static bool IsLegacyXRActive { get; }
static member IsLegacyXRActive : bool
[<System.Obsolete("Call LegacyXRAvailable instead.")>]
static member IsLegacyXRActive : bool
Public Shared ReadOnly Property IsLegacyXRActive As Boolean
Property Value
- Attributes