Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- 命名空间
- easyar
- 程序集
- EasyAR.Sense.dll
运行模式选项。
[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
- 继承
-
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
字段
DisableIfNonMobileARPostStartup
切换器启动时,如果存在移动AR(ARKit/ARCore)之外的其它loader,但没有任何一个loader是激活的,则禁用。通常这个选项会在 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)的loader是激活的,则启用。通常这个选项需要 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
功能禁用时,恢复(启用)所有被禁用的AR Foundation的ARSession(无论它是否由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