From 54336552cfdae40ad990997510e6d4a20ecd76ea Mon Sep 17 00:00:00 2001 From: mrkelly Date: Sat, 2 Jul 2016 15:32:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E4=BF=9DPostBuildProcess=E5=9C=A8?= =?UTF-8?q?=E7=BC=96=E8=AF=91Build=20Player=E9=98=B6=E6=AE=B5=E6=89=8D?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=EF=BC=8C=E5=8A=A0=E4=B8=8AEditorApplication.?= =?UTF-8?q?isPlayingOrWillChangePlaymode=E4=BD=9C=E4=B8=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KEngine | 2 +- .../KSFramework/Modules/LuaModule/Editor/LuaModuleEditor.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KEngine b/KEngine index 03d515ea..5f13c9e9 160000 --- a/KEngine +++ b/KEngine @@ -1 +1 @@ -Subproject commit 03d515ea5fae473d60685f520bf63cb3e6a6c4b0 +Subproject commit 5f13c9e99ea200066f1fa4c4022408cb8100cecb diff --git a/KSFramework/Assets/Plugins/KSFramework/Modules/LuaModule/Editor/LuaModuleEditor.cs b/KSFramework/Assets/Plugins/KSFramework/Modules/LuaModule/Editor/LuaModuleEditor.cs index 6d3cee75..4455763c 100644 --- a/KSFramework/Assets/Plugins/KSFramework/Modules/LuaModule/Editor/LuaModuleEditor.cs +++ b/KSFramework/Assets/Plugins/KSFramework/Modules/LuaModule/Editor/LuaModuleEditor.cs @@ -54,7 +54,7 @@ public class LuaModuleEditor [PostProcessScene] private static void OnPostProcessScene() { - if (!_hasBeforeBuildApp) + if (!_hasBeforeBuildApp && !EditorApplication.isPlayingOrWillChangePlaymode) { _hasBeforeBuildApp = true; // 这里是编译前, 对Lua进行编译处理