예제 #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;
     }
 }
예제 #2
0
 public UI Load(string xml, IUIBindable context)
 {
     this.Clear();
     this._render(xml, context);
     return(this);
 }
예제 #3
0
 public UI LoadAdditive(string xml, IUIBindable context)
 {
     this._render(xml, context);
     return(this);
 }
예제 #4
0
파일: UI.cs 프로젝트: Avatarchik/UnityXMLUI
		public UI Load (string xml, IUIBindable context)
		{
			this.Clear ();
			this._render (xml, context);
			return this;
		}
예제 #5
0
파일: UI.cs 프로젝트: Avatarchik/UnityXMLUI
		public UI LoadAdditive (string xml, IUIBindable context)
		{
			this._render (xml, context);
			return this;

		}