예제 #1
0
 public void Load(ResourceMono resource, System.Action <WindowObjectElement> onItem = null, bool async = false)
 {
     this.Load(resource, callback: (WindowComponent comp) => {}, onItem: onItem, async: async);
 }
예제 #2
0
 public void Load(ResourceMono resource, System.Action <WindowComponent> callback, System.Action <WindowObjectElement> onItem = null, bool async = false)
 {
     this.activatorInstance.SetComponent(resource);
     this.activatorInstance.Create(this.GetWindow(), this as WindowLayoutElement, callback, async, onItem);
 }
예제 #3
0
 public void Load <T>(ResourceMono resource, System.Action <T> callback, System.Action <WindowObjectElement> onItem = null, bool async = false) where T : WindowComponent
 {
     this.Load(resource, callback: (WindowComponent comp) => callback.Invoke(comp as T), onItem: onItem, async: async);
 }