EasyARBehaviour Class

Description

EasyARBehaviour is the class for EasyAR initialize with key. It calls ARBuilder at awake to do initialize and handles application pause/resume and quit events.

Public Properties

string Key

Public Functions

void Initialize()

Overwritten MonoBahaviour Functions

protected virtual void Awake()
protected virtual void OnApplicationPause(bool pause)
protected virtual void OnApplicationQuit()

string Key

EasyAR key. You can get it from EasyAR website.

void Initialize()

Initialize EasyAR. If any ARBuilder properties need to be used when other scripts awake, you should call this manually.