static int Initialize(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FirClient.Component.CLuaAnimator obj = (FirClient.Component.CLuaAnimator)ToLua.CheckObject <FirClient.Component.CLuaAnimator>(L, 1); LuaTable arg0 = ToLua.CheckLuaTable(L, 2); LuaFunction arg1 = ToLua.CheckLuaFunction(L, 3); obj.Initialize(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }