This commit is contained in:
fatiao 2026-03-02 15:10:59 +08:00
commit 8da5278687
3 changed files with 1333 additions and 1174 deletions

View File

@ -1173,10 +1173,10 @@ MonoBehaviour:
m_Padding: m_Padding:
m_Left: 0 m_Left: 0
m_Right: 0 m_Right: 0
m_Top: 0 m_Top: 20
m_Bottom: 5 m_Bottom: 5
m_ChildAlignment: 4 m_ChildAlignment: 1
m_Spacing: 0 m_Spacing: 5
m_ChildForceExpandWidth: 0 m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 1 m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0 m_ChildControlWidth: 0

View File

@ -63,6 +63,9 @@ function UIClimbingTowerBattleView:Init()
self.leftFightingTime = self.controller:FightingTime() self.leftFightingTime = self.controller:FightingTime()
self.leftTime.text.text = FormatTimeMS(self.leftFightingTime) self.leftTime.text.text = FormatTimeMS(self.leftFightingTime)
self.leftFightingTimeHandler = ManagerContainer.LuaTimerMgr:AddTimer(1000, -1, self, self.OnShowLeftFightingTime, nil) self.leftFightingTimeHandler = ManagerContainer.LuaTimerMgr:AddTimer(1000, -1, self, self.OnShowLeftFightingTime, nil)
-- 关闭聊天界面
self.NewBattleChatPart:HideView()
end end
function UIClimbingTowerBattleView:RemoveEventListener() function UIClimbingTowerBattleView:RemoveEventListener()