public static void UnRegisterMsg <T, U, V>(uint msg, OnMsgHandler <T, U, V> handler) { OnUnRegisterMsg(msg, handler); msgHandlerDic[msg] = (OnMsgHandler <T, U, V>)msgHandlerDic[msg] - handler; }
public static void RegisterMsg <T, U>(uint msg, OnMsgHandler <T, U> handler) { OnRegisterMsg(msg, handler); msgHandlerDic[msg] = (OnMsgHandler <T, U>)msgHandlerDic[msg] + handler; }