Ejemplo n.º 1
0
 static int GetBounds(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 6);
         Spine.Skeleton obj = (Spine.Skeleton)ToLua.CheckObject <Spine.Skeleton>(L, 1);
         float          arg0;
         float          arg1;
         float          arg2;
         float          arg3;
         float[]        arg4 = ToLua.CheckNumberArray <float>(L, 6);
         obj.GetBounds(out arg0, out arg1, out arg2, out arg3, ref arg4);
         LuaDLL.lua_pushnumber(L, arg0);
         LuaDLL.lua_pushnumber(L, arg1);
         LuaDLL.lua_pushnumber(L, arg2);
         LuaDLL.lua_pushnumber(L, arg3);
         ToLua.Push(L, arg4);
         return(5);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }