예제 #1
0
        public void UnregistHandler(HandlerBase handler)
        {
            Logger.Log("UnregistHandler: " + handler, EUDPBoxLogType.Log);

            mHandlerList.Remove(handler);

            handler.OnUnregistedFromUDPBox(this);
        }
예제 #2
0
        public void RegistHandler(HandlerBase handler)
        {
            Logger.Log("RegistHandler: " + handler, EUDPBoxLogType.Log);

            mHandlerList.Add(handler);

            handler.OnRegistedToUDPBox(this);
        }
예제 #3
0
 public void UnregistHandler(HandlerBase handler)
 {
     UDPBox.RegistHandler(handler);
 }