Esempio n. 1
0
 public void AddUIEventListener(GameObject obj, eUIEventType type, UIEventListener.EventDelegate callBack)
 {
     if (obj == null)
     {
         return;
     }
     UIEventListener.Get(obj).AddEventListener(type, callBack);
 }
Esempio n. 2
0
 public void RemoveUIEventListener(string obj_name, eUIEventType type, UIEventListener.EventDelegate callBack)
 {
     RemoveUIEventListener(GameObjectUtils.GetChildWithName(obj_name, transform).gameObject, type, callBack);
 }