void Awake() { if (instance == null) { instance = this; imiManagerImp = ImiManagerImp.GetInstance(); DontDestroyOnLoad(this.gameObject); init(); } }
private ImiManagerImp() { imiManager = ImiManager.GetInstance(); }
void OnDestroy() { instance = null; }