Пример #1
0
 public bool SetLoaded(IUIM _mgr, GameObject _go)
 {
     State         = EWorkerState.Resting;
     Script        = _go.GetComponent <IUI>();
     Script.Worker = this;
     Script?.Loaded(_mgr, _go);
     return(Script != null);
 }
Пример #2
0
 void IUI.Loaded(IUIM _iuim, GameObject _root)
 {
     Manager    = _iuim;
     CanDestroy = true;
     gameObject.SetActive(false);
     OnLoadCompleted();
     OnLoad();
 }
Пример #3
0
 void IUI.Unload()
 {
     OnUnload();
     Manager = null;
     Info    = null;
 }