示例#1
0
 /// <summary>
 /// 发送消息
 /// </summary>
 /// <param name="noticeObj">消息对象</param>
 public static void Send(INoticeObj noticeObj)
 {
     notifyCenter.Send(noticeObj.Number, noticeObj);
 }
示例#2
0
 private void ListenTwo(INoticeObj obj)
 {
     Debug.LogFormat("Listen - 10002:{0}", (string)obj.Body);
 }
示例#3
0
 private void ListenOne(INoticeObj obj)
 {
     Debug.Log("Listen - 10001");
 }
示例#4
0
 private void ListenOne2(INoticeObj obj)
 {
     Debug.LogFormat("Listen - 10001 - 2");
 }