From 71365e5c15d81759c04d7aab953fa757fb183f9b Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 12 十一月 2025 18:54:59 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/Utility/GlobalTimeEvent.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Main/Utility/GlobalTimeEvent.cs b/Main/Utility/GlobalTimeEvent.cs
index 9da381a..f6605cf 100644
--- a/Main/Utility/GlobalTimeEvent.cs
+++ b/Main/Utility/GlobalTimeEvent.cs
@@ -6,7 +6,7 @@
 
 public class GlobalTimeEvent : SingletonMonobehaviour<GlobalTimeEvent>
 {
-    public event Action MS100Event;
+    public event Action MSEvent; // 姣�50ms
     public event Action secondEvent;
     public event Action fiveSecondEvent;
     public event Action minuteEvent;
@@ -34,11 +34,11 @@
     private void Update()
     {
         var ms = Time.time;
-        if (ms - msBuf >= 0.1f)
+        if (ms - msBuf >= 0.05f)
         {
-            if (MS100Event != null)
+            if (MSEvent != null)
             {
-                MS100Event();
+                MSEvent();
             }
             msBuf = ms;
         }

--
Gitblit v1.8.0