tcx_xiyou_yueNan
parent
a884529fb5
commit
8ae5d5fb4d
|
|
@ -76,8 +76,8 @@ function this:InitComponent()
|
|||
this.npcRoot = Util.GetGameObject(self.gameObject, "bg/npcRoot")
|
||||
this.decorateRoot = Util.GetGameObject(self.gameObject, "bg/decorate")
|
||||
self.ctrl = Util.GetGameObject(self.gameObject, "scene/ctrl")
|
||||
|
||||
|
||||
----------utc时间显示------------
|
||||
this.utcTimeText = Util.GetGameObject(self.gameObject, "LeftUp/utcTime/Text"):GetComponent("Text")
|
||||
---------------topLeftPart----------------
|
||||
|
||||
-- 七日登陆奖励预览入口
|
||||
|
|
@ -1478,6 +1478,8 @@ function this.OnUpdate()
|
|||
--主城人物层级处理
|
||||
this.OnMainPlayerNPCRefresh()
|
||||
this.CheckScreenRightRedPoint()
|
||||
local date = os.date("*t", GetTimeStamp())
|
||||
this.utcTimeText.text = string.format(" %02d:%02d", date.hour, date.min) .. "(utc+8)"
|
||||
end
|
||||
|
||||
--检测屏幕右侧红点
|
||||
|
|
|
|||
Loading…
Reference in New Issue