Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Espaço de nomes
- easyar
- Assembly
- EasyAR.Sense.dll
Opções de modo de execução.
[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Herança
-
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Campos
DisableIfNonMobileARPostStartup
Desativado durante a inicialização do alternador se existirem outros loaders além de AR móvel (ARKit/ARCore), mas nenhum estiver ativo. Normalmente esta opção é usada quando 'Initialize XR on Startup' no XR Plug-in Management não está selecionado.
[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
Ativar controle em tempo de execução. Nota: Ao desativar esta opção, componentes desativados no modo de edição não serão restaurados durante a execução.
[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
Ativado no Windows/Mac.
[Tooltip("Enable if on Windows/Mac.")]
public bool EnableIfDesktop
EnableIfMobileAROnStartup
Ativado durante a inicialização do alternador se o loader de AR móvel (ARKit/ARCore) estiver ativo. Normalmente esta opção requer que 'Initialize XR on Startup' no XR Plug-in Management esteja selecionado.
[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 a funcionalidade é desativada, restaurar (habilitar) todos os ARSessions da AR Foundation que foram desativados (independentemente de terem sido desativados pelo EasyAR ou não). Esta opção é normalmente usada para restaurar componentes desativados durante a edição.
[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