【跨服天梯】 修改提交
parent
37336acb66
commit
d24f8c2c14
|
|
@ -6622,7 +6622,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -43.75, y: -26.600035}
|
m_AnchoredPosition: {x: -55.999977, y: -26.600035}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &6535556721251534509
|
--- !u!222 &6535556721251534509
|
||||||
|
|
@ -6702,7 +6702,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -43.75003, y: 20.700031}
|
m_AnchoredPosition: {x: -56, y: 20.700031}
|
||||||
m_SizeDelta: {x: 160, y: 30}
|
m_SizeDelta: {x: 160, y: 30}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &6535556722100132614
|
--- !u!222 &6535556722100132614
|
||||||
|
|
@ -7875,7 +7875,7 @@ RectTransform:
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 11, y: -70.4}
|
m_AnchoredPosition: {x: 11, y: -70.4}
|
||||||
m_SizeDelta: {x: 744, y: 76}
|
m_SizeDelta: {x: 800, y: 76}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &7197382919261123197
|
--- !u!222 &7197382919261123197
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
|
||||||
|
|
@ -277,7 +277,7 @@ function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown,str)
|
||||||
end
|
end
|
||||||
this.timer = Timer.New(function()
|
this.timer = Timer.New(function()
|
||||||
if _timeTextExpert then
|
if _timeTextExpert then
|
||||||
LogGreen(" 跨服天梯 "..this.TimeStampToDateString(timeDown)..str)
|
-- LogGreen(" 跨服天梯 "..this.TimeStampToDateString(timeDown)..str)
|
||||||
_timeTextExpert.text = this.TimeStampToDateString(timeDown - GetTimeStamp())..str
|
_timeTextExpert.text = this.TimeStampToDateString(timeDown - GetTimeStamp())..str
|
||||||
end
|
end
|
||||||
if timeDown - GetTimeStamp() < 0 then
|
if timeDown - GetTimeStamp() < 0 then
|
||||||
|
|
@ -287,12 +287,14 @@ function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown,str)
|
||||||
this.timer:Stop()
|
this.timer:Stop()
|
||||||
this.timer = nil
|
this.timer = nil
|
||||||
if not isFirstRefresh then
|
if not isFirstRefresh then
|
||||||
LogError("跨服天梯前端刷新")
|
Timer.New(function()
|
||||||
JumpServerManager.GetWorldArenaInfoRequest()
|
LogError("跨服天梯前端刷新")
|
||||||
isFirstRefresh = true
|
JumpServerManager.GetWorldArenaInfoRequest()
|
||||||
|
isFirstRefresh = true
|
||||||
|
end, 2):Start()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
timeDown = timeDown - 1
|
-- timeDown = timeDown - 1
|
||||||
end, 1, -1, true)
|
end, 1, -1, true)
|
||||||
this.timer:Start()
|
this.timer:Start()
|
||||||
else
|
else
|
||||||
|
|
@ -300,9 +302,11 @@ function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown,str)
|
||||||
_timeTextExpertgo:SetActive(false)
|
_timeTextExpertgo:SetActive(false)
|
||||||
end
|
end
|
||||||
if not isFirstRefresh then
|
if not isFirstRefresh then
|
||||||
LogError("跨服天梯前端刷新")
|
Timer.New(function()
|
||||||
JumpServerManager.GetWorldArenaInfoRequest()
|
LogError("跨服天梯前端刷新")
|
||||||
isFirstRefresh = true
|
JumpServerManager.GetWorldArenaInfoRequest()
|
||||||
|
isFirstRefresh = true
|
||||||
|
end, 2):Start()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue