602 坐骑优化-客户端 获得坐骑的解锁属性数值显示装备坐骑后的属性
| | |
| | | nameTxt.text = horseSkinConfig.Name; |
| | | iconImg.overrideSprite = UILoader.LoadSprite("HorseIcon", horseSkinConfig.Icon); |
| | | iconImg.SetNativeSize(); |
| | | |
| | | attrTxt.text = StringUtility.Concat(PlayerPropertyConfig.Get(horseIDConfig.AttrID).ShowName, " ", "+", PlayerPropertyConfig.GetValueDescription(horseIDConfig.AttrID, HorseManager.Instance.GetNowAttrValue(horseIDConfig.AttrID))); |
| | | HorseManager.Instance.GetRiderTotalAttrInfoByHorseID(horseID, out int attrID, out long value, out PlayerPropertyConfig playerPropertyConfig); |
| | | attrTxt.text = StringUtility.Concat(PlayerPropertyConfig.Get(attrID).ShowName, " ", "+", PlayerPropertyConfig.GetValueDescription(attrID, value)); |
| | | |
| | | } |
| | | |