public void UnregistHandler(HandlerBase handler) { Logger.Log("UnregistHandler: " + handler, EUDPBoxLogType.Log); mHandlerList.Remove(handler); handler.OnUnregistedFromUDPBox(this); }
public void RegistHandler(HandlerBase handler) { Logger.Log("RegistHandler: " + handler, EUDPBoxLogType.Log); mHandlerList.Add(handler); handler.OnRegistedToUDPBox(this); }
public void UnregistHandler(HandlerBase handler) { UDPBox.RegistHandler(handler); }