public bool Remove(CollisionSwitch value) { for (int i = 0; i < CollisionSwitches.Count; i++) { if (CollisionSwitches[i] == value) { CollisionSwitches.RemoveAt(i); return(true); } } return(false); }
public void RemoveAt(int index) { CollisionSwitches.RemoveAt(index); }