Is there a way to map classes directly to C# functions by just loading the class? Instead of making 100+ RegisterFunctions
and mapping them?
EX: Something like
this.lua = new LuaInterface.Lua();
RegisterAll(Class1.MainClass);
lua.DoFile(this.filePath);
inside lua:
function Start
MainClass.MappedPrintFunc("hihi");
end