public void BtnDismantleEquipment() { if (isRollingInforce) { return; } if (_mainEquip != null) { isRollingInforce = true; _timeRolling = _effectPatternUpgrade._timeRolling; isHaveResult = false; _resultUpgrade = string.Empty; _effectPatternUpgrade.StartRolling(); StartCoroutine(ServerAdapter.UpgradeDismantleEquipment(CharacterInfo._instance._baseProperties.idHero, CharacterInfo._instance._baseProperties.idCodeHero, _mainEquip.idItem, result => { isHaveResult = true; _resultUpgrade = result; })); } }