角色信息界面修改
parent
c63ade0716
commit
2b5c469394
|
|
@ -17465,9 +17465,9 @@ RectTransform:
|
|||
m_Father: {fileID: 2276163010823118294}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -105, y: 576}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: -105, y: -49}
|
||||
m_SizeDelta: {x: 750, y: 71}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2780399310376892617
|
||||
|
|
@ -27853,7 +27853,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -44}
|
||||
m_AnchoredPosition: {x: 0, y: -42}
|
||||
m_SizeDelta: {x: 276.5, y: 51.799988}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6221145532524179794
|
||||
|
|
@ -27886,7 +27886,7 @@ MonoBehaviour:
|
|||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
|
||||
m_FontSize: 50
|
||||
m_FontSize: 42
|
||||
m_FontStyle: 2
|
||||
m_BestFit: 0
|
||||
m_MinSize: 4
|
||||
|
|
|
|||
|
|
@ -317,19 +317,19 @@ function this.RoleInfo0()
|
|||
--天赋
|
||||
this.talentBtn:SetActive(curHeroData.heroConfig.OpenPassiveSkillRules ~= nil)
|
||||
local talentBtnImage=""
|
||||
if curHeroData.star==HeroManager.awakeNextStarIndex then
|
||||
talentBtnImage="r_hero_tianfu2_zh"
|
||||
elseif curHeroData.star==12 then
|
||||
talentBtnImage="r_tongyong_tianfufeisheng1"
|
||||
elseif curHeroData.star==13 then
|
||||
talentBtnImage="r_tongyong_tianfufeisheng2"
|
||||
elseif curHeroData.star==14 then
|
||||
talentBtnImage="r_tongyong_tianfufeisheng3"
|
||||
else
|
||||
talentBtnImage="r_hero_tianfu1_zh"
|
||||
end
|
||||
-- if curHeroData.star==HeroManager.awakeNextStarIndex then
|
||||
-- talentBtnImage="r_hero_tianfu2_zh"
|
||||
-- elseif curHeroData.star==12 then
|
||||
-- talentBtnImage="r_tongyong_tianfufeisheng1"
|
||||
-- elseif curHeroData.star==13 then
|
||||
-- talentBtnImage="r_tongyong_tianfufeisheng2"
|
||||
-- elseif curHeroData.star==14 then
|
||||
-- talentBtnImage="r_tongyong_tianfufeisheng3"
|
||||
-- else
|
||||
-- talentBtnImage="r_hero_tianfu1_zh"
|
||||
-- end
|
||||
--local talentBtnImage = curHeroData.star == HeroManager.awakeNextStarIndex and "r_hero_tianfu2_zh" or "r_hero_tianfu1_zh"
|
||||
this.talentBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite(talentBtnImage)
|
||||
--this.talentBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite(talentBtnImage)
|
||||
local OpenPassiveSkillRules = curHeroData.star >= HeroManager.awakeNextStarIndex and curHeroData.heroConfig.Awaken or curHeroData.heroConfig.OpenPassiveSkillRules
|
||||
OpenPassiveSkillRules=GetPassiveByMaxStar(curHeroData.heroConfig,OpenPassiveSkillRules)
|
||||
if OpenPassiveSkillRules then
|
||||
|
|
|
|||
Loading…
Reference in New Issue