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); } } } }