chenxin
2020-10-22 63133cf5403a9d7fbe3811d20c3d24f26a752449
Assets/Scripts/TowerDefense/Level/EndlessDropManager.cs
@@ -220,5 +220,20 @@
            return true;
        }
        /// <summary>
        /// 拾取所有还未拾取的掉落
        /// </summary>
        public void PickUpAllDrop()
        {
            for (int i = 0; i < AllDropList.Count; ++i)
            {
                if (AllDropList[i].IsPickupCompleted) continue;
                AllDropList[i].IsPickupCompleted = true;
                SafelyCallObtainDrop(AllDropList[i]);
                RemoveDrop(AllDropList[i].Id);
            }
        }
    }
}