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.
ARCoreLoadFailed¶
- C#
- public static bool ARCoreLoadFailed { get; } 
If ARCore load fails.
Scheduler¶
- C#
- public static DelayedCallbackScheduler Scheduler { get; } 
Global Scheduler. Accessible after scene loaded.
Settings¶
- C#
- public static EasyARSettings Settings { get; } 
Global EasyARSettings .
Worker¶
- C#
- public ThreadWorker Worker { get; } 
Thread worker. Accessible after Awake.
Methods¶
GlobalInitialization¶
- C#
- public static void GlobalInitialization() 
EasyAR Sense initialization, called before Unity load scenes.