Table of Contents

Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

名前空間
easyar
アセンブリ
EasyAR.Sense.dll

実行モードオプション。

[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
継承
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

フィールド

DisableIfNonMobileARPostStartup

スイッチャーの起動時に mobile AR (ARKit/ARCore) 以外の 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

スイッチャーの起動時に mobile 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

機能が無効化されたとき、EasyAR によって無効化されたかどうかに関係なく、無効化されているすべての AR Foundation ARSession を復元(有効化)します。このオプションは通常、編集中に無効化されたコンポーネントを復元するために使用されます。

[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