public override void Draw() { UIRenderer.Layout(this); for (int ix = 0; ix < CountX; ix++) { for (int iy = 0; iy < CountY; iy++) { if (Childs[ix, iy] != null) { UIRenderer.Layout(Childs[ix, iy]); } } } }
public override void Draw() { UIRenderer.Layout(this); Childs.ForEach(component => component.Draw()); }