예제 #1
0
        private void RaiseSetSessionAttributesResponseHandler(bool isError, Action <SetSessionAttributesEventData> callback, Exception exception = null)
        {
            setSessionAttributesEventData = new SetSessionAttributesEventData(EventSystem.current);
            setSessionAttributesEventData.Initialize(isError, exception);

            callback(setSessionAttributesEventData);
        }
예제 #2
0
        private void RaiseSetSessionAttributesResponseHandler(bool isError, Action <SetSessionAttributesEventData> callback, Exception exception = null)
        {
            setSessionAttributesEventData = new SetSessionAttributesEventData(EventSystem.current);
            setSessionAttributesEventData.Initialize(isError, exception);

            if (callback == null)
            {
                log("setSessionAttributesCallback not implemented!");
            }
            else
            {
                callback(setSessionAttributesEventData);
            }
        }