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