英雄试炼
parent
c6f4717adb
commit
eb3603a85c
|
@ -50,6 +50,7 @@ function GuildCarDelayMainPanel:InitComponent()
|
||||||
this.TabCtrl = TabBox.New()
|
this.TabCtrl = TabBox.New()
|
||||||
|
|
||||||
this.ScrollTitleRootName = Util.GetGameObject(self.gameObject, "RankList/ScrollTitleRoot/Name"):GetComponent("Text")
|
this.ScrollTitleRootName = Util.GetGameObject(self.gameObject, "RankList/ScrollTitleRoot/Name"):GetComponent("Text")
|
||||||
|
this.Record = Util.GetGameObject(self.gameObject, "RankList/Record")
|
||||||
this.mySortNum = Util.GetGameObject(self.gameObject, "RankList/Record/SortNum")
|
this.mySortNum = Util.GetGameObject(self.gameObject, "RankList/Record/SortNum")
|
||||||
this.myGuildName = Util.GetGameObject(self.gameObject, "RankList/Record/Rank0"):GetComponent("Text")
|
this.myGuildName = Util.GetGameObject(self.gameObject, "RankList/Record/Rank0"):GetComponent("Text")
|
||||||
this.mySore = Util.GetGameObject(self.gameObject, "RankList/Record/Rank1"):GetComponent("Text")
|
this.mySore = Util.GetGameObject(self.gameObject, "RankList/Record/Rank1"):GetComponent("Text")
|
||||||
|
@ -194,6 +195,7 @@ function this.ShowTitleAllData()
|
||||||
this.proImage.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[curMonsterIdConFig.Boss].PropertyName))
|
this.proImage.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[curMonsterIdConFig.Boss].PropertyName))
|
||||||
curProgress = GuildCarDelayManager.progress
|
curProgress = GuildCarDelayManager.progress
|
||||||
Util.SetGray(this.challengeBtn,curProgress ~= 1)
|
Util.SetGray(this.challengeBtn,curProgress ~= 1)
|
||||||
|
this.Record:SetActive(curProgress == 1)
|
||||||
challengeNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_CHALLENGE)
|
challengeNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_CHALLENGE)
|
||||||
lootNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_LOOT)
|
lootNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_LOOT)
|
||||||
this.challengeNum.text = Language[10520]..challengeNum
|
this.challengeNum.text = Language[10520]..challengeNum
|
||||||
|
|
Loading…
Reference in New Issue