public void BtnUpgradeCombine() { if (isRollingInforce) { return; } if (_numberCombine > 0) { if (CharacterInfo._instance._baseProperties.Gold < _numberGoldNeeded) { Debug.LogError("Không có vàng mà đòi đú"); } else { isRollingInforce = true; _timeRolling = _effectPatternUpgrade._timeRolling; isHaveResult = false; _resultUpgrade = string.Empty; _effectPatternUpgrade.StartRolling(); StartCoroutine(ServerAdapter.UpgradeCombineRunestone(CharacterInfo._instance._baseProperties.idHero, CharacterInfo._instance._baseProperties.idCodeHero, int.Parse(_itemRuneMaterial.getValue("idhg").ToString()), _numberMaterialRunstoneNeed, _numberGoldNeeded, result => { isHaveResult = true; _resultUpgrade = result; })); } } }