Beispiel #1
0
 public static void SendNotify(DFNotifyType notify, GameObject target, object data)
 {
     Instance.proxy.PushNotify((int)notify, target, data);
 }
Beispiel #2
0
 public static void SendNotify(DFNotifyType notify, object data)
 {
     Instance.proxy.PushNotify((int)notify, null, data);
 }
Beispiel #3
0
 public static void RemoveListener(DFNotifyType notify)
 {
     Instance.proxy.RemoveNotify((int)notify);
 }
Beispiel #4
0
 public static void RemoveListener(DFNotifyType notify, GameObject target)
 {
     Instance.proxy.RemoveNotify((int)notify, target);
 }
Beispiel #5
0
 public static void AddListener(DFNotifyType notify, GameObject tareget, UnityAction <object> action)
 {
     Instance.proxy.AddNotify((int)notify, tareget, action);
 }