public TabController Items(List <ITabItem> items) { this.items.Clear(); this.items.AddRange(items); UIKit.UpdateListContent(this.items); return(this); }
public T Add <T>(out T child, string id = null) where T : UIObject { if (id == null) { id = typeof(T).Name; } child = UIKit.CreateUI <T>(rectTransform, id); return(child); }