Table of Contents

Class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Namespace
easyar
Assembly
EasyAR.Sense.dll

Options für den Betriebsmodus.

[Serializable]
public class EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions
Vererbung
EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

Felder

DisableIfNonMobileARPostStartup

Beim Start des Switchers deaktivieren, wenn andere Loader außer mobilen AR (ARKit/ARCore) vorhanden sind, aber kein Loader aktiv ist. Normalerweise wird diese Option verwendet, wenn 'Initialize XR on Startup' im XR Plug-in Management nicht ausgewählt ist.

[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

Aktivieren Sie die Laufzeitsteuerung. Hinweis: Wenn Sie diese Option deaktivieren, werden Komponenten, die im Bearbeitungsmodus deaktiviert wurden, zur Laufzeit nicht wiederhergestellt.

[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

Auf Windows/Mac aktivieren.

[Tooltip("Enable if on Windows/Mac.")]
public bool EnableIfDesktop

EnableIfMobileAROnStartup

Beim Start des Switchers aktivieren, wenn der Loader für mobile AR (ARKit/ARCore) aktiv ist. Normalerweise erfordert diese Option, dass 'Initialize XR on Startup' im XR Plug-in Management ausgewählt ist.

[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

Wenn die Funktion deaktiviert ist, alle deaktivierten AR Foundation ARSession wiederherstellen (aktivieren), unabhängig davon, ob sie von EasyAR deaktiviert wurden. Diese Option wird normalerweise verwendet, um Komponenten wiederherzustellen, die während der Bearbeitung deaktiviert wurden.

[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