private void ErrorRecived(XsollaErrorRe pErrors)
 {
     mHasError           = true;
     btnPay.interactable = false;
     mErrorPanel.GetComponentInChildren <Text>().text = pErrors.mErrorList[0].mMessage + "\n" + String.Format(StringHelper.PrepareFormatString(mUtils.GetTranslations().Get("error_code")), pErrors.mErrorList[0].mSupportCode);
     if (mVcRecalc)
     {
         virtCurrAmount.textComponent.color = StyleManager.Instance.GetColor(StyleManager.BaseColor.bg_error);
         virtCurrAmount.gameObject.GetComponent <ColorInputController>().pType = StyleManager.BaseSprite.bckg_input_error;
         virtCurrAmount.gameObject.GetComponent <ColorInputController>().UpdateSprite();
         SetVirtError();
     }
     else
     {
         realCurrAmount.textComponent.color = StyleManager.Instance.GetColor(StyleManager.BaseColor.bg_error);
         realCurrAmount.gameObject.GetComponent <ColorInputController>().pType = StyleManager.BaseSprite.bckg_input_error;
         realCurrAmount.gameObject.GetComponent <ColorInputController>().UpdateSprite();
         SetRealError();
     }
 }
 /// <summary>
 /// Errors the recived.
 /// </summary>
 /// <param name="pErrors">P errors.</param>
 private void ErrorRecived(XsollaErrorRe pErrors)
 {
     ProgressBarBuyBtn(false);
 }
示例#3
0
 private void ErrorRecived(XsollaErrorRe pErrors)
 {
     // описание ошибки
 }
示例#4
0
 private void ErrorRecived(XsollaErrorRe pError)
 {
 }
 private void ErrorRecived(XsollaErrorRe pError)
 {
     Logger.LogError("Error to get detail on subs!" + pError.ToString());
 }