Esempio n. 1
0
 public TabController Items(List <ITabItem> items)
 {
     this.items.Clear();
     this.items.AddRange(items);
     UIKit.UpdateListContent(this.items);
     return(this);
 }
Esempio n. 2
0
 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);
 }