地盘争夺修改

wangzhenxing 2024-02-22 15:37:04 +08:00
parent 1b50141b28
commit 6789e152c3
3 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,7 @@ end
function this.TabAdapter(tab, index, status)
local img = Util.GetGameObject(tab, "Image")
local txt = Util.GetGameObject(tab, "Text")
Util.GetGameObject(tab, "RedPoint"):SetActive(false)
Util.GetGameObject(tab, "select"):SetActive(status=="select")
img:GetComponent("Image").sprite = this.spLoader:LoadSprite(_TabData[index].default)
txt:GetComponent("Text").text = _TabData[index].txt

View File

@ -9,6 +9,8 @@ function DeathPosRewardPopup:InitComponent()
this.spLoader = SpriteLoader.New()
this.panel=Util.GetGameObject(this.gameObject,"Panel")
this.backBtn=Util.GetGameObject(this.panel,"BackBtn")
Util.GetGameObject(this.panel,"Title"):GetComponent("Text").text="地盘争夺奖励宝箱"
Util.GetGameObject(this.panel,"Bg/Tip"):GetComponent("Text").text="宝箱在地盘争夺结束后产生每个成员可开启1次试试手气吧"
this.scroll=Util.GetGameObject(this.panel,"Scroll")
this.pre=Util.GetGameObject(this.scroll,"Pre")
this.scrollView=SubUIManager.Open(SubUIConfig.ScrollCycleView,this.scroll.transform,

View File

@ -7,6 +7,7 @@ function GuildCreatePopup:InitComponent()
this.spLoader = SpriteLoader.New()
this.btnBack = Util.GetGameObject(self.transform, "tipImage/btnClose")
this.btnCreate = Util.GetGameObject(self.transform, "tipImage/btnCreate")
Util.GetGameObject(self.transform, "tipImage/Text (1)"):GetComponent("Text").text="创建公会消耗200钻石"
this.inputName = Util.GetGameObject(self.transform, "tipImage/name"):GetComponent("InputField")
this.inputAnnounce = Util.GetGameObject(self.transform, "tipImage/content"):GetComponent("InputField")