From 32345800737b668011a87328cd3dcce59ec2934c Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 26 Oct 2021 11:27:58 +0800 Subject: *misc --- Editor/Scripting/EditorScripting.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Editor/Scripting/EditorScripting.cpp') 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); -- cgit v1.1-26-g67d0