This commit is contained in:
puxuan 2025-05-15 22:41:22 +08:00
parent 21d6651d1b
commit 5f101e936a

View File

@ -85,6 +85,9 @@ namespace BFEditor
{
//加载lua配置测试
LuaEnv env = new LuaEnv();
env.DoString(@"
print(' Lua : ' .. _VERSION) -- Lua 5.1
");
env.AddLoader((ref string scriptPath) =>
{
var text = LoadGameLuaScriptText(scriptPath, isDeveloper);