public bool RemoveUI(UIElement ui) { //remove specific ui return uiList.Remove(ui); } public void RemoveAt(int index)