예제 #1
0
        private void RaiseHandleMessage(bool isError, Dictionary <string, object> message, Action <HandleMessageEventData> callback, Exception exception = null)
        {
            handleMessageEventData = new HandleMessageEventData(EventSystem.current);
            handleMessageEventData.Initialize(isError, message, exception);

            callback(handleMessageEventData);
        }
예제 #2
0
        private void RaiseHandleMessage(bool isError, Dictionary <string, object> message, Action <HandleMessageEventData> callback, Exception exception = null)
        {
            handleMessageEventData = new HandleMessageEventData(EventSystem.current);
            handleMessageEventData.Initialize(isError, message, exception);

            if (callback == null)
            {
                log("handleMessageRecievedCallback not implemented!");
            }
            else
            {
                callback(handleMessageEventData);
            }
        }