From b7310c9cce95bfc9bfe135063ee0e97fbc654928 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 1 Nov 2021 16:53:51 +0800 Subject: *misc --- Editor/Scripting/EditorScripting.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Editor/Scripting/EditorScripting.cpp') diff --git a/Editor/Scripting/EditorScripting.cpp b/Editor/Scripting/EditorScripting.cpp index 43ed666..c8cfbbb 100644 --- a/Editor/Scripting/EditorScripting.cpp +++ b/Editor/Scripting/EditorScripting.cpp @@ -14,6 +14,7 @@ extern int luaopen_GameLab_Engine_Networking(lua_State* L); // GameLab.Engine.Ne extern int luaopen_GameLab_Engine_Animation(lua_State* L); // GameLab.Engine.Animation extern int luaopen_GameLab_Engine_GL(lua_State* L);// GameLab.Engine.GL extern int luaopen_GameLab_Engine_Resource(lua_State* L); // GameLab.Engine.Resource +extern int luaopen_GameLab_Engine_GUI(lua_State* L); extern int luaopen_GameLab_Editor(lua_State* L); // GameLab.Editor extern int luaopen_GameLab_Editor_GUI(lua_State* L); // GameLab.Editor.GUI @@ -44,7 +45,8 @@ bool SetupGameLabEditorScripting(lua_State* L) openlib(luaopen_GameLab_Engine_Rendering); openlib(luaopen_GameLab_Engine_GL); - openlib(luaopen_GameLab_Engine_Resource); + openlib(luaopen_GameLab_Engine_Resource); + openlib(luaopen_GameLab_Engine_GUI); openlib(luaopen_GameLab_Editor); openlib(luaopen_GameLab_Editor_GUI); -- cgit v1.1-26-g67d0