public Panel AddPanel(UIBuilder builder) { var panel = builder.BuildPanel(); panel.transform.SetParent(canvas.transform, false); return(panel); }
public void Init(UIBuilder builder) { this.builder = builder; }