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