XRSettingsUtilities.IsLegacyXRActive Property

Definition

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; }
member this.IsLegacyXRActive : bool
[<System.Obsolete("Call LegacyXRAvailable instead.")>]
member this.IsLegacyXRActive : bool
Public Shared ReadOnly Property IsLegacyXRActive As Boolean

Property Value

Boolean
Attributes

Applies to