添加一个红点
parent
909ed03c04
commit
ee30858c07
|
@ -1000,6 +1000,9 @@ function this.TimeFormat()
|
|||
if time > 0 then
|
||||
activityTabs[k].go.gameObject:SetActive(true)
|
||||
activityTabs[k].timeText.text = TimeToHMS(time)
|
||||
local canGet = BagManager.GetTotalItemNum(1221) > 0 and BagManager.GetTotalItemNum(1222) > 0 and
|
||||
BagManager.GetTotalItemNum(1223) > 0 and BagManager.GetTotalItemNum(1224) > 0
|
||||
activityTabs[k].redpot:SetActive(canGet)
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue