示例#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);
     });
 }
示例#2
0
 static IniterAdderUnityEngineVector2()
 {
     LuaEnv.AddIniter(Init);
 }
示例#3
0
 static IniterAdderXLuaTestPedding()
 {
     LuaEnv.AddIniter(Init);
 }
示例#4
0
 static IniterAdderPushAsTableStruct()
 {
     LuaEnv.AddIniter(Init);
 }
示例#5
0
 static AsComponentPushWraper()
 {
     LuaEnv.AddIniter(Init);
 }