From 56b5174d39bce787fe6c2740612ca56c4a577af4 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 25 五月 2019 17:39:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Lua/CSharpCallLua.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Lua/CSharpCallLua.cs b/Lua/CSharpCallLua.cs
index 2ec5cdd..dd77cbc 100644
--- a/Lua/CSharpCallLua.cs
+++ b/Lua/CSharpCallLua.cs
@@ -179,9 +179,10 @@
launchAction();
}
-#if !UNITY_EDITOR
- Do("hotfix.hotfix");
-#endif
+ if (!Application.isEditor)
+ {
+ LuaUtility.Do("hotfix.hotfix");
+ }
}
public static void LaunchPostProcess()
--
Gitblit v1.8.0