| | |
| | | { |
| | | if (i < keys.Count) |
| | | { |
| | | var curValue = HorseManager.Instance.attrDic[keys[i]]; |
| | | attrNameTexts[i].text = PlayerPropertyConfig.Get(keys[i]).Name; |
| | | attrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], HorseManager.Instance.attrDic[keys[i]]); |
| | | nextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], nextConfig.ClassAttrValueList[i]); |
| | | attrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], curValue, 2); |
| | | |
| | | nextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], |
| | | curValue + nextConfig.ClassAttrValueList[i] + nextConfig.PerLVAttrValueList[i], 2); |
| | | } |
| | | } |
| | | |
| | |
| | | if (i < nextConfig.ClassSpecAttrIDList.Length) |
| | | { |
| | | specialAttrRect[i].SetActive(true); |
| | | specialAttrNameTexts[i].text = PlayerPropertyConfig.Get(nextKeys[i]).Name; |
| | | var id = nextConfig.ClassSpecAttrIDList[i]; |
| | | specialAttrNameTexts[i].text = PlayerPropertyConfig.Get(id).Name; |
| | | if (i < nextKeys.Count) |
| | | { |
| | | specialAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(nextConfig.ClassSpecAttrIDList[i], HorseManager.Instance.specialAttrDic[nextKeys[i]]); |
| | | specialNextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(nextConfig.ClassSpecAttrIDList[i], HorseManager.Instance.specialAttrDic[nextKeys[i]] + nextConfig.ClassSpecAttrValueList[i]); |
| | | specialAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(id, HorseManager.Instance.specialAttrDic[nextKeys[i]], 2); |
| | | specialNextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(id, HorseManager.Instance.specialAttrDic[nextKeys[i]] + nextConfig.ClassSpecAttrValueList[i], 2); |
| | | } |
| | | else |
| | | { |
| | | specialAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(nextKeys[i], 0); |
| | | specialNextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(nextKeys[i], nextConfig.ClassSpecAttrValueList[i]); |
| | | specialAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(id, 0); |
| | | specialNextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(id, nextConfig.ClassSpecAttrValueList[i], 2); |
| | | } |
| | | } |
| | | else |