Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Пространство имен
- easyar
- Сборка
- EasyAR.Sense.dll
Опции режима работы.
[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- Наследование
-
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Поля
DisableIfNonMobileARPostStartup
Отключается при запуске переключателя, если существуют другие загрузчики, кроме мобильной AR (ARKit/ARCore), но ни один из них не активен. Обычно эта опция используется, когда в XR Plug-in Management не выбран 'Initialize XR on Startup'.
[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
Включить управление во время выполнения. Примечание: при отключении этой опции компоненты, отключенные в режиме редактирования, не будут восстановлены во время выполнения.
[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
Включено на Windows/Mac.
[Tooltip("Enable if on Windows/Mac.")]
public bool EnableIfDesktop
EnableIfMobileAROnStartup
Включается при запуске переключателя, если загрузчик мобильной AR (ARKit/ARCore) активен. Обычно для этой опции требуется, чтобы в XR Plug-in Management был выбран 'Initialize XR on Startup'.
[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
При отключении функции восстанавливает (включает) все отключенные ARSession от AR Foundation (независимо от того, были ли они отключены EasyAR). Эта опция обычно используется для восстановления компонентов, отключенных во время редактирования.
[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