/* Start Binding */ protected void attachView(UI render, GameObject self, UIElementMeta meta, object context) { if (context.GetType().GetInterfaces().Contains(typeof(IUIBindable)) && meta.Node.ParentNode == null) { IUIBindable bindable = (IUIBindable)context; bindable.View = meta; } }
public UI Load(string xml, IUIBindable context) { this.Clear(); this._render(xml, context); return(this); }
public UI LoadAdditive(string xml, IUIBindable context) { this._render(xml, context); return(this); }
public UI Load (string xml, IUIBindable context) { this.Clear (); this._render (xml, context); return this; }
public UI LoadAdditive (string xml, IUIBindable context) { this._render (xml, context); return this; }