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

Disabled when there are other loaders besides the mobile AR (ARKit/ARCore) loader but none of the loaders are active on switcher startup. 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: When 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

Enabled on Windows/Mac.

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

Field Value

EnableIfMobileAROnStartup

Enabled when the loader for mobile AR (ARKit/ARCore) is active on switcher startup. Typically, this option requires 'Initialize XR on Startup' in XR Plug-in Management to be 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 ARSessions (regardless of whether they were disabled by EasyAR). This option is typically used to restore components disabled in edit mode.

[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