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

Property Value

Attributes

Applies to