Table of Contents

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

機能が無効な場合、無効化されたすべての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