Table of Contents

Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Espaço de nomes
easyar
Assembly
EasyAR.Sense.dll

Opções de modo de runtime.

[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Herança
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Campos

DisableIfNonMobileARPostStartup

Desativa 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

Ativa 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

Ativa on Windows/Mac.

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

EnableIfMobileAROnStartup

Ativa 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

Quando o recurso é desativado, restaura (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