【牛气冲天】奖励位置修改
parent
df955dac39
commit
a6b6b2222b
|
@ -8975,7 +8975,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: 92.7, y: -1}
|
m_AnchoredPosition: {x: 200, y: -1}
|
||||||
m_SizeDelta: {x: 85, y: 85}
|
m_SizeDelta: {x: 85, y: 85}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &4295345761131377981
|
--- !u!222 &4295345761131377981
|
||||||
|
|
|
@ -254,7 +254,7 @@ function this.SwitchView(index)
|
||||||
RankingManager.InitData(RANK_TYPE.GUILD_CAR_DELEAY_SINGLE,function()
|
RankingManager.InitData(RANK_TYPE.GUILD_CAR_DELEAY_SINGLE,function()
|
||||||
local ranks,myRank = RankingManager.GetRankingInfo()
|
local ranks,myRank = RankingManager.GetRankingInfo()
|
||||||
this.SetRankDataShow(ranks,myRank,true)
|
this.SetRankDataShow(ranks,myRank,true)
|
||||||
this.myGuildName.text = PlayerManager.nickName
|
this.myGuildName.text = PracticeManager.SetNameColor(PlayerManager.nickName,PracticeManager.PracticeLevel)
|
||||||
end,nil,1)
|
end,nil,1)
|
||||||
elseif curIndex == 1 then
|
elseif curIndex == 1 then
|
||||||
-- NetManager.RequestRankInfo(RANK_TYPE.GUILD_CAR_DELEAY_GUILD, function(msg)
|
-- NetManager.RequestRankInfo(RANK_TYPE.GUILD_CAR_DELEAY_GUILD, function(msg)
|
||||||
|
|
|
@ -152,6 +152,9 @@ function NiuQiChongTianPanel:SetTime()
|
||||||
end
|
end
|
||||||
local updateTime = function()
|
local updateTime = function()
|
||||||
self.time.text = "剩余时间:"..TimeToFelaxible(tempTime)
|
self.time.text = "剩余时间:"..TimeToFelaxible(tempTime)
|
||||||
|
if tempTime <= 0 then
|
||||||
|
self.parent:ClosePanel()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
updateTime()
|
updateTime()
|
||||||
self.timer = Timer.New(function()
|
self.timer = Timer.New(function()
|
||||||
|
|
Loading…
Reference in New Issue