示例#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);
        }
    }
 void CallHandler_onErrorEvent(WebserviceError errorResponse)
 {
     if(ErrorOccurred != null)
         ErrorOccurred(errorResponse);
 }