Пример #1
0
 protected virtual void OnDisable()
 {
     list.Remove(this);
     if (!isQuitting)
     {
         status.Disable();
         status = null;
     }
 }
Пример #2
0
 protected virtual void Initialize()
 {
     status = PoolManager.GetPoolSafe(StatusGUI.Prefab.gameObject).Get <StatusGUI>(StatusGUI.Canvas.transform);
     status.Initialize(this);
 }