进阶页签属性图标显示错误
parent
e517e2a175
commit
f2f288c682
|
@ -264,7 +264,7 @@ function this:ProShow(go,allAddProVal,HeroProType,nextallAddProVal)
|
|||
local curProSConFig = ConfigManager.GetConfigData(ConfigName.PropertyConfig,HeroProType)
|
||||
Util.GetGameObject(go,"proName"):GetComponent("Text").text = curProSConFig.Info..":"
|
||||
Util.GetGameObject(go,"proValue"):GetComponent("Text").text = allAddProVal[HeroProType]
|
||||
Util.GetGameObject(go,"Image"):GetComponent("Image").sprite = Util.LoadSprite(GetResourcePath(propertyConfig[HeroProType].PropertyIcon))
|
||||
Util.GetGameObject(go,"Image"):GetComponent("Image").sprite = Util.LoadSprite(PropertyTypeIconDef[HeroProType])
|
||||
if nextallAddProVal then
|
||||
Util.GetGameObject(go,"nextproValue"):GetComponent("Text").text = nextallAddProVal[HeroProType]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue