void CloseAllBorderUI() { for (int i = 0; i < borderUIList.Count; i++) { BaseBorderUI win = borderUIList[i]; if (win != null) { GameObject.Destroy(win.gameObject); } } }
public void RemoveOneUI(BaseBorderUI ui) { borderUIList.Remove(ui); }