Class XRGeneralSettings
General settings container used to house the instance of the active settings as well as the manager instance used to load the loaders with.
Namespace: UnityEngine.XR.Management
Syntax
public class XRGeneralSettings : ScriptableObject
Fields
k_SettingsKey
The key used to query to get the current loader settings.
Declaration
public static string k_SettingsKey
Field Value
Type | Description |
---|---|
String |
Properties
AssignedSettings
The current active manager used to manage XR lifetime.
Declaration
public XRManagerSettings AssignedSettings { get; }
Property Value
Type | Description |
---|---|
XRManagerSettings |
InitManagerOnStart
Used to set if the manager is activated and initialized on startup.
Declaration
public bool InitManagerOnStart { get; }
Property Value
Type | Description |
---|---|
Boolean |
Instance
The current settings instance.
Declaration
public static XRGeneralSettings Instance { get; }
Property Value
Type | Description |
---|---|
XRGeneralSettings |
Manager
The current active manager used to manage XR lifetime.
Declaration
public XRManagerSettings Manager { get; set; }
Property Value
Type | Description |
---|---|
XRManagerSettings |