示例#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);
 }