예제 #1
0
 public static void Register(UniLua.ILuaState L)
 {
     L.BeginStaticLib("MyStaticLib");
     L.RegVar("field", get_field, set_field);
     L.RegVar("property", get_property, set_property);
     L.RegFunction("Function", Function);
     L.EndStaticLib();
 }