From af8dafd75f9a6fae017734d58fc7b34d6bdcd0f4 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 25 八月 2025 22:03:51 +0800
Subject: [PATCH] 0312 开启限帧
---
Main/Component/UI/Common/TimerToChsBehaviour.cs | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/Main/Component/UI/Common/TimerToChsBehaviour.cs b/Main/Component/UI/Common/TimerToChsBehaviour.cs
index cd4d046..13cbf73 100644
--- a/Main/Component/UI/Common/TimerToChsBehaviour.cs
+++ b/Main/Component/UI/Common/TimerToChsBehaviour.cs
@@ -2,18 +2,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
-namespace vnxbqy.UI
-{
- public class TimerToChsBehaviour : TimerBehaviour
- {
- [HideInInspector]
- public string addtionInfo = string.Empty;
- protected override void UpdateTimeShow()
- {
- var lastSecond = (endTime - TimeUtility.ServerNow).TotalSeconds;
- m_TimeShow.text = StringUtility.Contact(TimeUtility.SecondsToDHMSCHS((int)lastSecond), addtionInfo);
- }
+public class TimerToChsBehaviour : TimerBehaviour
+{
+ [HideInInspector]
+ public string addtionInfo = string.Empty;
+
+ protected override void UpdateTimeShow()
+ {
+ var lastSecond = (endTime - TimeUtility.ServerNow).TotalSeconds;
+ m_TimeShow.text = StringUtility.Contact(TimeUtility.SecondsToDHMSCHS((int)lastSecond), addtionInfo);
}
}
--
Gitblit v1.8.0