public void ClearCoroutines() { ShipList shipList = listParent.shipList; shipList.RefreshList(); for (int i = 0; i < activeCoroutines.Count; i++) { StopCoroutine(activeCoroutines[i]); } coroutines.Clear(); }