Table of Contents

Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Namespace
easyar
Assembly
EasyAR.Sense.dll

Run mode options.

[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Inheritance
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Fields

DisableIfNonMobileARPostStartup

Disable when the switcher starts, if there are other loaders besides mobile AR (ARKit/ARCore), but none are active. Typically, this option is used when 'Initialize XR on Startup' in XR Plug-in Management is not selected.

[Tooltip("Disable if non-mobile AR (ARKit/ARCore) loader is found but no active loader exist. This option is usually used when 'Initialize XR on Startup' of XR Plug-in Management is not checked.")]
public bool DisableIfNonMobileARPostStartup

Field Value

Enable

Enable runtime control. Note: If this option is turned off, components disabled in edit mode will not be restored at runtime.

[Tooltip("Enable play mode control. Note: If this option is disabled, components that are disabled during edit mode will not be restored at play mode.")]
public bool Enable

Field Value

EnableIfDesktop

Enable on Windows/Mac.

[Tooltip("Enable if on Windows/Mac.")]
public bool EnableIfDesktop

Field Value

EnableIfMobileAROnStartup

Enable when the switcher starts, if the loader for mobile AR (ARKit/ARCore) is active. Typically, this option requires that 'Initialize XR on Startup' in XR Plug-in Management is selected.

[Tooltip("Enable if mobile AR (ARKit/ARCore) loader is active when the switch starts. This option usually require 'Initialize XR on Startup' of XR Plug-in Management is checked.")]
public bool EnableIfMobileAROnStartup

Field Value

RestoreARSessionWhenDisabled

When the feature is disabled, restore (enable) all disabled AR Foundation ARSession components (regardless of whether they were disabled by EasyAR). This option is typically used to restore components disabled during editing.

[Tooltip("When function disabled, restore (enable) all disabled ARSessions of AR Foundation (whether they are disabled by EasyAR or not). This options is usually used to restore disabled components in edit mode.")]
public bool RestoreARSessionWhenDisabled

Field Value