Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | |
| | | m_ItemName.text = item.config.ItemName; |
| | | m_ItemName.color = UIHelper.GetUIColor(item.config.ItemColor, true); |
| | | var equipPosition = new Int2( model.selectedLevel.value,model.selectedPlace.value); |
| | | var equipPosition = new Int2(model.selectedLevel.value, model.selectedPlace.value); |
| | | var successRate = model.GetMaterialSuccessRate(equipPosition, this.equip); |
| | | m_Rate.text = string.Format("成功率 +{0}", Mathf.RoundToInt(successRate * 100)); |
| | | m_Rate.text = string.Format("成功率 +{0}%", Mathf.RoundToInt(successRate * 100)); |
| | | m_Item.SetItem(item.config.ID, 1); |
| | | m_Select.SetListener(SelectMaterial); |
| | | } |