英雄试炼

onepiece_demo_arena
xiejun 2024-01-31 11:12:03 +08:00
parent c6f4717adb
commit eb3603a85c
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ function GuildCarDelayMainPanel:InitComponent()
this.TabCtrl = TabBox.New()
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.myGuildName = Util.GetGameObject(self.gameObject, "RankList/Record/Rank0"):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))
curProgress = GuildCarDelayManager.progress
Util.SetGray(this.challengeBtn,curProgress ~= 1)
this.Record:SetActive(curProgress == 1)
challengeNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_CHALLENGE)
lootNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_LOOT)
this.challengeNum.text = Language[10520]..challengeNum