EasyARController Class¶
Description¶
MonoBehaviour which controls EasyAR Sense initialization and some global settings.
MonoBehaviour Messages¶
private void Awake() |
private void Update() |
private void OnApplicationPause(bool pause) |
private void OnDestroy() |
Fields¶
ShowPopupMessage¶
- C#
public bool ShowPopupMessage
If popup message will be displayed. All popup message from EasyAR Sense Unity Plugin is controlled by this flag.
Properties¶
Instance¶
- C#
public static EasyARController Instance { get; }
Global EasyARController .
Initialized¶
- C#
public static bool Initialized { get; }
EasyAR Sense initialize result, false if license key validation fails.
Scheduler¶
- C#
public static DelayedCallbackScheduler Scheduler { get; }
Global Scheduler. Accessible after initialized.
Settings¶
- C#
public static EasyARSettings Settings { get; }
Global EasyARSettings .
Worker¶
- C#
public ThreadWorker Worker { get; }
Thread worker. Accessible after Awake.
Methods¶
Initialize¶
- C#
public static bool Initialize()
EasyAR Sense initialization.
Initialize¶
- C#
public static bool Initialize(string licenseKey)
EasyAR Sense initialization.
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.