Exemplo n.º 1
0
 /* 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;
     }
 }
Exemplo n.º 2
0
 public UI Load(string xml, IUIBindable context)
 {
     this.Clear();
     this._render(xml, context);
     return(this);
 }
Exemplo n.º 3
0
 public UI LoadAdditive(string xml, IUIBindable context)
 {
     this._render(xml, context);
     return(this);
 }
Exemplo n.º 4
0
		public UI Load (string xml, IUIBindable context)
		{
			this.Clear ();
			this._render (xml, context);
			return this;
		}
Exemplo n.º 5
0
		public UI LoadAdditive (string xml, IUIBindable context)
		{
			this._render (xml, context);
			return this;

		}