parent
4ca7445e8b
commit
4953aad743
|
|
@ -1739,7 +1739,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Material: {fileID: 2100000, guid: 9f6415c5993d0154eba0d2d3bd1ffe93, type: 2}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.72156864}
|
||||
m_RaycastTarget: 0
|
||||
m_OnCullStateChanged:
|
||||
|
|
|
|||
|
|
@ -719,7 +719,11 @@ function HandBookHeroAndEquipListPanel:OnShowSingleHeroData(...)
|
|||
Util.GetGameObject(_go.transform, "card/pro/Image"):GetComponent("Image").sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(heroData.PropertyName))
|
||||
Util.GetGameObject(_go.transform, "card/heroStage"):SetActive(false)
|
||||
local starGrid = Util.GetGameObject(_go.transform, "star")
|
||||
SetHeroStars(self.spLoader, starGrid, star,1,nil,-15,nil,Vector3.New(0,0,-15))
|
||||
local aaa=star
|
||||
if aaa==11 then
|
||||
aaa=16
|
||||
end
|
||||
SetHeroStars(self.spLoader, starGrid, aaa,1,nil,-15,nil,Vector3.New(0,0,-15))
|
||||
Util.SetParticleSortLayer(starGrid,orginLayer+1)
|
||||
Util.AddOnceClick(Util.GetGameObject(_go.transform, "card"), function()
|
||||
UIManager.OpenPanel(UIName.HandBookHeroInfoPanel,heroData,proId,natural,lv,star)
|
||||
|
|
|
|||
|
|
@ -246,8 +246,17 @@ function this:UpdateHeroInfoData()
|
|||
for k,v in pairs(this.PageList) do
|
||||
v:OnHide()
|
||||
end
|
||||
--local starSize = Vector2.New(60,60)
|
||||
--SetHeroStars(this.spLoader, this.starGrid,heroConFigData.MaxRank)
|
||||
local starSize = Vector2.New(60,60)
|
||||
SetHeroStars(this.spLoader, this.starGrid,heroConFigData.MaxRank,2,starSize,-10,Vector2.New(0.5,0.5))
|
||||
local starScale = -10
|
||||
local starType=2
|
||||
if heroConFigData.MaxRank > 11 then
|
||||
starSize = Vector2.New(1.2,1.84)
|
||||
starScale = 7
|
||||
end
|
||||
SetHeroStars(this.spLoader, this.starGrid,heroConFigData.MaxRank,starType,starSize,starScale)
|
||||
SetParticleSortLayer(this.starGrid,this.sortingOrder+1)
|
||||
this.heroName.text = GetLanguageStrById(heroConFigData.ReadingName)
|
||||
this.profession.sprite =this.spLoader:LoadSprite(GetProStrImageByProNum(heroConFigData.PropertyName))
|
||||
--定位描述相关
|
||||
|
|
|
|||
Loading…
Reference in New Issue