Ejemplo n.º 1
0
 public void DispatchToMainThread(VoidObjectDelegate call, object param)
 {
     MainThreadEvent evt = new MainThreadEvent();
     evt.callFuncEvents += call;
     evt.param = param;
     this.DispatchToMainThread(evt);
 }
Ejemplo n.º 2
0
 public void AddEventListener(YxEventType eventType, VoidObjectDelegate callFunc)
 {
     this.callFuncEventTypeDict[eventType] = callFunc;
 }