From 9df5aae86c098bf019f764d27b47d72da37bff84 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 30 八月 2018 10:30:24 +0800
Subject: [PATCH] 2391 【前端】游戏性能优化

---
 Core/GameEngine/DataToCtl/NetUpdateBehaviour.cs |   68 +++++++++++++++++-----------------
 1 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/Core/GameEngine/DataToCtl/NetUpdateBehaviour.cs b/Core/GameEngine/DataToCtl/NetUpdateBehaviour.cs
index 65733ba..8c609a8 100644
--- a/Core/GameEngine/DataToCtl/NetUpdateBehaviour.cs
+++ b/Core/GameEngine/DataToCtl/NetUpdateBehaviour.cs
@@ -1,34 +1,34 @@
-锘縰sing UnityEngine;
-using System.Collections;
-using System;
-
-public class NetUpdateBehaviour : MonoBehaviour
-{
-    Action onUpdate;
-    public void RegisterUpdateCallBack(Action _onUpdate)
-    {
-        onUpdate += _onUpdate;
-    }
-
-    void Update()
-    {
-#if UNITY_EDITOR
-
-        if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Escape))
-        {
-            GameNetSystem.Instance.LoginOut();
-        }
-#endif
-
-        if (onUpdate!=null)
-        {
-            onUpdate();
-        }
-    }
-
-    private void OnApplicationQuit()
-    {
-        GameNetSystem.Instance.Disconnect();
-    }
-
-}
+锘縰sing UnityEngine;
+using System.Collections;
+using System;
+
+public class NetUpdateBehaviour : MonoBehaviour
+{
+    Action onUpdate;
+    public void RegisterUpdateCallBack(Action _onUpdate)
+    {
+        onUpdate += _onUpdate;
+    }
+
+    void Update()
+    {
+#if UNITY_EDITOR
+
+        if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Escape))
+        {
+            GameNetSystem.Instance.LoginOut();
+        }
+#endif
+
+        if (onUpdate!=null)
+        {
+            onUpdate();
+        }
+    }
+
+    private void OnApplicationQuit()
+    {
+        GameNetSystem.Instance.Disconnect();
+    }
+
+}

--
Gitblit v1.8.0