From b6bbb80d99eceb8d69087019331069f3ec9ba628 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 25 五月 2019 14:56:07 +0800
Subject: [PATCH] 3335 更新lua启动管理.
---
Lua/LuaUtility.cs | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/Lua/LuaUtility.cs b/Lua/LuaUtility.cs
index 6f7f9d2..70ec96d 100644
--- a/Lua/LuaUtility.cs
+++ b/Lua/LuaUtility.cs
@@ -29,21 +29,9 @@
get { return env.Global; }
}
- public void Init()
+ public static void Init()
{
- Do("global.table");
- Do("global.util");
- Do("global.logex");
- Do("global.functions");
- Do("global.object");
- Do("global.define");
- Do("global.stringutil");
- Do("protocol.manager.LuaProtocalRegister");
-#if !UNITY_EDITOR
- Do("hotfix.hotfix");
-#endif
- lastGCTime = 0f;
}
void Update()
--
Gitblit v1.8.0