Ejemplo n.º 1
0
 public static void Init()
 {
     LuaEnv.AddIniter((luaenv, t) =>
     {
         t.RegisterPushAndGetAndUpdate <Core.Math.Vec2>(t.PushCoreMathVec2, t.GetEx, t.UpdateCoreMathVec2);
         t.RegisterPushAndGetAndUpdate <Core.Math.Vec3>(t.PushCoreMathVec3, t.GetEx, t.UpdateCoreMathVec3);
         t.RegisterPushAndGetAndUpdate <Core.Math.Vec4>(t.PushCoreMathVec4, t.GetEx, t.UpdateCoreMathVec4);
         t.RegisterPushAndGetAndUpdate <Core.Math.Color4>(t.PushCoreMathColor4, t.GetEx, t.UpdateCoreMathColor4);
         t.RegisterPushAndGetAndUpdate <Core.Math.Bounds>(t.PushCoreMathBounds, t.GetEx, t.UpdateCoreMathBounds);
         t.RegisterPushAndGetAndUpdate <Core.Math.Rect>(t.PushCoreMathRect, t.GetEx, t.UpdateCoreMathRect);
         t.RegisterPushAndGetAndUpdate <Logic.Model.EntityFlag>(t.PushLogicModelEntityFlag, t.GetEx, t.UpdateLogicModelEntityFlag);
     });
 }
Ejemplo n.º 2
0
 static IniterAdderUnityEngineVector2()
 {
     LuaEnv.AddIniter(Init);
 }
Ejemplo n.º 3
0
 static IniterAdderXLuaTestPedding()
 {
     LuaEnv.AddIniter(Init);
 }
Ejemplo n.º 4
0
 static IniterAdderPushAsTableStruct()
 {
     LuaEnv.AddIniter(Init);
 }
Ejemplo n.º 5
0
 static AsComponentPushWraper()
 {
     LuaEnv.AddIniter(Init);
 }