TCX_LongZhu
DESKTOP-RH64908\Administrator 2025-06-30 16:22:34 +08:00
parent ce0d6714b0
commit aa994d7b42
1 changed files with 4 additions and 0 deletions

View File

@ -196,8 +196,12 @@ function this.SetScrollPre2(root,data)
mask:SetActive(true)
if data.state==0 then
mask:GetComponent("Image").sprite = this.spLoader:LoadSprite("g_ghhb_weidacheng_zh")
local stateText = Util.GetGameObject(mask,"text"):GetComponent("Text")
stateText.text = "未达成"
elseif data.state==1 then
mask:GetComponent("Image").sprite = this.spLoader:LoadSprite("g_ghhb_yidacheng_zh")
local stateText = Util.GetGameObject(mask,"text"):GetComponent("Text")
stateText.text = "已达成"
end
end