Ejemplo n.º 1
0
		public virtual UIElement Init (string Value = "", UIElement ParentElement=null, string Header="", Action action=null)
		{

			if (ParentElement != null) {
				parentElement = ParentElement;
				return Init (ParentElement.gameObject, Value, Header, action);
			} else {
				return Init (null, Value, Header, action);
			}
		}
Ejemplo n.º 2
0
		public UIElement AddUIElement (string name, UIElement element, bool hideIfEmpty=false)
		{
			element.hideIfEmpty = hideIfEmpty;
			childElements.Add (name, element);
			return  element;
		}