Closed Drachenkaetzchen closed 5 years ago
Hi, it is possible, you need to inherit from LuaGlobal and implement your own require logic.
public class MyLuaGlobal : LuaGlobal
{
...
[LuaMember("require")]
public LuaResult LuaRequire(object modname)
{
...
}
...
}
Thank you :) I'll try it out soon.
Hi,
I'm working on a project where I'd like to keep a required module in a Resource (resx). With MoonSharp, I can simply create a custom script loader.
Is something similar possible with neolua?