private void ShowSliderHarvest(bool show, float durationTime = 0, float totalTime = 0)
 {
     if (show)
     {
         // 显示进度条
         _sliderHarvest = GameRoomManager.Instance.FightManager.SliderHarvest.Spawn(_inner, Vector3.zero);
         _sliderHarvest.Init(this, durationTime, totalTime);
     }
     else
     {
         // 隐藏进度条
         if (_sliderHarvest)
         {
             _sliderHarvest.Recycle();
             _sliderHarvest = null;
         }
     }
 }
        void OnDestroy()
        {
            _allActors.Remove(ActorId);
            HexUnit = null;
            if (_sliderHarvest != null)
            {
                _sliderHarvest.Recycle();
                _sliderHarvest = null;
            }

            if (_sliderBlood != null)
            {
                _sliderBlood.Recycle();
                _sliderBlood = null;
            }

            if (_shield != null)
            {
                _shield.Recycle();
                _shield = null;
            }
        }