コード例 #1
0
    void UnityUICloudGoodsLogin_ErrorOccurred(CloudGoods.SDK.Models.WebserviceError obj)
    {
        if (obj.ErrorCode == 1003)
        {
            ResendAuthenticationPanel.SetActive(true);
        }
        else
        {
            StatusPanel.SetActive(true);
            StatusText.text = obj.Message;

            ResendAuthenticationPanel.SetActive(false);
        }
    }
コード例 #2
0
 void CallHandler_onErrorEvent(WebserviceError errorResponse)
 {
     if(ErrorOccurred != null)
         ErrorOccurred(errorResponse);
 }