log
This commit is contained in:
parent
21d6651d1b
commit
5f101e936a
@ -85,6 +85,9 @@ namespace BFEditor
|
|||||||
{
|
{
|
||||||
//加载lua配置测试
|
//加载lua配置测试
|
||||||
LuaEnv env = new LuaEnv();
|
LuaEnv env = new LuaEnv();
|
||||||
|
env.DoString(@"
|
||||||
|
print('当前 Lua 版本: ' .. _VERSION) -- 输出 Lua 5.1
|
||||||
|
");
|
||||||
env.AddLoader((ref string scriptPath) =>
|
env.AddLoader((ref string scriptPath) =>
|
||||||
{
|
{
|
||||||
var text = LoadGameLuaScriptText(scriptPath, isDeveloper);
|
var text = LoadGameLuaScriptText(scriptPath, isDeveloper);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user