XRSettingsUtilities.LegacyXREnabled 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.
Gets or sets (in Unity 2019.4 or earlier) the legacy virtual reality supported property in the player settings.
public:
static property bool LegacyXREnabled { bool get(); void set(bool value); };
public static bool LegacyXREnabled { get; set; }
static member LegacyXREnabled : bool with get, set
Public Shared Property LegacyXREnabled As Boolean
Property Value
Remarks
Returns true if legacy XR is disabled due to XR SDK in Unity 2019.3+.