public void AddComponent(BaseUI ui) { ui.Parent = this; // ui.UIRenderer = this.UIRenderer; this.Childs.Add(ui); }
public void RemoveComponent(BaseUI component) { ContentValue = 0; this.Childs.Remove(component); Sort(); }