神将生阶属性显示错误问题修复

dev_chengFeng
ZhangBiao 2020-07-14 14:03:08 +08:00
parent 6d3faec09e
commit 7785a7c472
8 changed files with 65 additions and 2 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 023d70b98b45c3745a91a5102d1e2117
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 30ec9ad22f181654b81d8aa34d997868
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1213879cc7c0b4d46a8d793b939a06e3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4dc38530a3ad8af47b2f065ccc50ea54
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1c43dca7af2907d4c913828dbe5b27b4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e2a124da35999014cb86e0aa5187e8a8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6088b24b13ed31d4cb512d1068724d3f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -14,7 +14,7 @@ function RoleUpStarSuccessPanel:InitComponent()
this.live2dRoot=Util.GetGameObject(self.transform,"live2dRoot")
this.heroName = Util.GetGameObject(self.transform, "heroInfo/nameAndPossLayout/heroName"):GetComponent("Text")
-- this.profession = Util.GetGameObject(self.transform, "heroInfo/nameAndPossLayout/posImage/posImage/posImage"):GetComponent("Image")
this.profession = Util.GetGameObject(self.transform, "Pos/PosImage"):GetComponent("Image")
this.proImage = Util.GetGameObject(self.transform, "heroInfo/nameAndPossLayout/proImage/proImage"):GetComponent("Image")
--this.posText = Util.GetGameObject(self.transform, "heroInfo/nameAndPossLayout/posText/posText"):GetComponent("Text")
this.starGrid = Util.GetGameObject(self.transform, "heroInfo/sartAndLvLayout/starGrid")
@ -96,8 +96,15 @@ function RoleUpStarSuccessPanel:OnOpen(...)
this.LiveGO = poolManager:LoadLive(this.LiveName, this.live2dRoot.transform,
Vector3.one * curHeroData.heroConfig.Scale, Vector3.New(curHeroData.heroConfig.Position[1],curHeroData.heroConfig.Position[2],0))
SetHeroStars(this.starGrid, curHeroData.star+1)
-- this.profession.sprite = Util.LoadSprite(GetJobSpriteStrByJobNum(curHeroData.heroConfig.Profession))
this.profession.sprite = Util.LoadSprite(GetHeroPosStr(curHeroData.heroConfig.Profession))
LogPink("curHeroData.heroConfig.PropertyName"..curHeroData.heroConfig.PropertyName)
this.proImage.sprite =Util.LoadSprite(GetProStrImageByProNum(curHeroData.heroConfig.PropertyName))
-- LogPurple("curHeroData.heroConfig.profession"..curHeroData.heroConfig.Profession)
-- LogYellow(GetHeroPosStr(curHeroData.heroConfig.Profession))
-- this.proImage.sprite =Util.LoadSprite(GetHeroPosStr(curHeroData.heroConfig.Profession))
--this.posText.text = GetJobStrByJobNum(curHeroData.profession)
this.heroName.text =curHeroData.heroConfig.ReadingName