14
I want to bind static class function to lua. As you know, static class function is something difference with class function. So function call code in lua should be like this...
//C++
lua_tinker::def(L, "Foo_Func", &Foo::Func);
//Lua
Foo_Func()
But I want to call function in lua like this
//Lua
Foo.Func()
Is there any way to use like that? Lua table might be helpful. But I cannot find any references.