Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Runtime mode options.
[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Inheritance
-
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Fields
DisableIfNonMobileARPostStartup
Disables when loaders other than mobile AR (ARKit/ARCore) exist but none of them is active as the switcher starts. Usually 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
Enable
Enables 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
EnableIfDesktop
Enables on Windows/Mac.
[Tooltip("Enable if on Windows/Mac.")]
public bool EnableIfDesktop
EnableIfMobileAROnStartup
Enables when the mobile AR (ARKit/ARCore) loader is active as the switcher starts. Usually 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
RestoreARSessionWhenDisabled
When the feature is disabled, restores (enables) all disabled AR Foundation ARSessions, whether or not they were disabled by EasyAR. This option is usually 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