diff options
author | chai <chaifix@163.com> | 2021-10-26 11:27:58 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-26 11:27:58 +0800 |
commit | 32345800737b668011a87328cd3dcce59ec2934c (patch) | |
tree | e1bbd47ae775f1268447f1c1011ab10492ee9197 /Editor/Scripting/EditorScripting.cpp | |
parent | ef7aedf5f272c52247d8ee9522d7b2896d21af63 (diff) |
*misc
Diffstat (limited to 'Editor/Scripting/EditorScripting.cpp')
-rw-r--r-- | Editor/Scripting/EditorScripting.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Editor/Scripting/EditorScripting.cpp b/Editor/Scripting/EditorScripting.cpp index 9cd80cc..ad8ccd6 100644 --- a/Editor/Scripting/EditorScripting.cpp +++ b/Editor/Scripting/EditorScripting.cpp @@ -1,6 +1,8 @@ #include "EditorScripting.h" #include "Runtime/Debug/Log.h" +extern int luaopen_GameLab(lua_State* L); // GameLab + extern int luaopen_GameLab_Debug(lua_State* L); // GameLab.Debug extern int luaopen_GameLab_IO(lua_State* L); // GameLab.IO extern int luaopen_GameLab_Path(lua_State* L); // GameLab.Path @@ -33,6 +35,8 @@ bool SetupGameLabEditorScripting(lua_State* L) { log_info("Scripting", "SetupGameLabEditorScripting()"); + openlib(luaopen_GameLab); + openlib(luaopen_GameLab_Debug); openlib(luaopen_GameLab_Path); openlib(luaopen_GameLab_IO); |