Unity Xlua 之 C#调用Lua(一)Unity Xlua 之 C#调用Lua(一)
Unity Xlua 之 C#调用Lua(一)一.Lua解析器(LuaEnv)执行Lua代码,加载Lua文件执行public class Lesson01_LuaEnv : MonoBehaviour{ private LuaEnv _luaEnv; private void Start() { _luaEnv = new LuaEnv(); _luaEnv.DoString("print('Unity!')");