空岛夺宝
parent
67408bffed
commit
fc54d71dd2
|
@ -2,9 +2,9 @@ require("Base/BasePanel")
|
|||
local LingMaiMiJingPanel = Inherit(BasePanel)
|
||||
local lodeConfig = ConfigManager.GetConfig(ConfigName.LodeConfig)
|
||||
local TEXTLIST = {
|
||||
[1] = "距抢夺期结束:%s",
|
||||
[2] = "距宝岛开启:%s",
|
||||
[3] = "距宝岛关闭:%s",
|
||||
[1] = "距抢夺期结束:",
|
||||
[2] = "距空岛开启:",
|
||||
[3] = "距空岛关闭:",
|
||||
}
|
||||
local veinName = {
|
||||
[3] = "l_lmmj_huangjilingmai",
|
||||
|
@ -35,6 +35,7 @@ function LingMaiMiJingPanel:InitComponent()
|
|||
--top
|
||||
self.topBar = Util.GetGameObject(self.gameObject,"topBar")
|
||||
self.leftTime = Util.GetGameObject(self.topBar,"Text"):GetComponent("Text")
|
||||
self.leftDesTime = Util.GetGameObject(self.topBar,"text"):GetComponent("Text")
|
||||
--bottom
|
||||
self.bottom = Util.GetGameObject(self.gameObject,"bottomBar")
|
||||
self.time = Util.GetGameObject(self.bottom,"time")
|
||||
|
@ -261,7 +262,9 @@ function LingMaiMiJingPanel:SetTime()
|
|||
end
|
||||
|
||||
--self.leftTime.text = string.format("",TimeToHMS(time))
|
||||
|
||||
self.leftTime.text = TimeToHMS(time)
|
||||
self.leftDesTime.text = text
|
||||
self.timer = Timer.New(function ()
|
||||
time = time - 1
|
||||
timeStayAtHere = timeStayAtHere + 1
|
||||
|
|
Loading…
Reference in New Issue