Editar

Compartilhar via


XRSettingsUtilities.LegacyXREnabled Property

Definition

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+.

Applies to