EasyARController Class

Description

Static delegate of EasyAR Sense Engine class, mainly used for Sense initialization.


MonoBehaviour Messages

private void Awake()

private void OnApplicationPause(bool pause)


Properties

Initialized

C#

public static bool Initialized { get; }

EasyAR Sense initialize result, false if license key validation fails or not run.

Scheduler

C#

public static DelayedCallbackScheduler Scheduler { get; }

Global Scheduler. Accessible after initialized.


Methods

Initialize

C#

public static bool Initialize()

EasyAR Sense initialization with EasyARSettings.LicenseKey . Usually no need to call manually if EasyARSettings.InitializeOnStartup is true.

Initialize

C#

public static bool Initialize(string licenseKey)

EasyAR Sense initialization with licenseKey . Usually no need to call manually if EasyARSettings.InitializeOnStartup is true.

Deinitialize

C#

public static void Deinitialize()

EasyAR Sense deinitialize.

This method has nothihng to do with resource dispose. Usually do not require to call manually. Use it if you want to initialize and deinitialize EasyAR multiple times.