public void RemoveState(int index) { StateElementDraw.ArrayRemove(ref states, index); if (elements == null) { return; } for (int i = elements.Count - 1; i >= 0; i--) { elements[i].RemoveState(index); } }
public void RemoveState(int index) { StateElementDraw.ArrayRemove(ref stateData, index); }