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); }); }
static IniterAdderUnityEngineVector2() { LuaEnv.AddIniter(Init); }
static IniterAdderXLuaTestPedding() { LuaEnv.AddIniter(Init); }
static IniterAdderPushAsTableStruct() { LuaEnv.AddIniter(Init); }
static AsComponentPushWraper() { LuaEnv.AddIniter(Init); }