public void UnRegister(MsgType type) { if (handlers.ContainsKey(type)) { handlers.Remove(type); } else { Log.logWarning("{0}类型的消息未注册!!", type.ToString()); } }
public void UnRegister(MsgType type) { if (handlers.ContainsKey(type)) { handlers.Remove(type); } else { Log.logWarning("{0}类型的消息未注册!!", type.ToString()); } }