コード例 #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);
            }
        }