Table of Contents

Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Espacio de nombres
easyar
Ensayo
EasyAR.Sense.dll

Opción de modo de funcionamiento.

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

Campos

DisableIfNonMobileARPostStartup

Se desactiva al iniciar el conmutador si existen otros cargadores además de AR móvil (ARKit/ARCore), pero ninguno está activo. Normalmente, esta opción se usa cuando 'Initialize XR on Startup' en XR Plug-in Management no está seleccionada.

[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

Activar el control en tiempo de ejecución. Nota: Si se desactiva esta opción, los componentes deshabilitados en el modo de edición no se restaurarán durante el tiempo de ejecución.

[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

Activar en Windows/Mac.

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

EnableIfMobileAROnStartup

Se activa al iniciar el conmutador si el cargador de AR móvil (ARKit/ARCore) está activo. Normalmente, esta opción requiere que 'Initialize XR on Startup' en XR Plug-in Management esté seleccionada.

[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

Cuando la función está desactivada, restaura (activa) todas las ARSession de AR Foundation deshabilitadas (ya sea deshabilitadas por EasyAR o no). Esta opción se utiliza normalmente para restaurar componentes deshabilitados durante la edición.

[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