Closed hansdpf closed 3 years ago
Hello,
in my angular project I need access to a global lua variable from typescript. I tried several things, like: lua = luaEngine.createEngine(); myVar= lua.module.lua_getglobal (lua.global.address,'myGlobalVariable');
but had no success. What is the best way?
Thanks
Based on readme:
lua.global.get('myGlobalVariable')
Hello,
in my angular project I need access to a global lua variable from typescript. I tried several things, like: lua = luaEngine.createEngine(); myVar= lua.module.lua_getglobal (lua.global.address,'myGlobalVariable');
but had no success. What is the best way?
Thanks