示例#1
0
 protected override void Dispose()
 {
     if (_isChildOfManager)
     {
         gameObject.SetActive(false);
         _enemyManager.AddToReserve(gameObject);
     }
     else
     {
         base.Dispose();
     }
 }