Ejemplo n.º 1
0
 static int QPYX_CaptureCamera_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 6);
         string             QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 1);
         UnityEngine.Camera QPYX_arg1_YXQP = (UnityEngine.Camera)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.Camera));
         float QPYX_arg2_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 3);
         float QPYX_arg3_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 4);
         float QPYX_arg4_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 5);
         float QPYX_arg5_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 6);
         bool  QPYX_o_YXQP    = CustomerUtil.CaptureCamera(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP, QPYX_arg3_YXQP, QPYX_arg4_YXQP, QPYX_arg5_YXQP);
         LuaDLL.lua_pushboolean(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Ejemplo n.º 2
0
 static int CaptureCamera(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 6);
         string             arg0 = ToLua.CheckString(L, 1);
         UnityEngine.Camera arg1 = (UnityEngine.Camera)ToLua.CheckObject(L, 2, typeof(UnityEngine.Camera));
         float arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
         float arg3 = (float)LuaDLL.luaL_checknumber(L, 4);
         float arg4 = (float)LuaDLL.luaL_checknumber(L, 5);
         float arg5 = (float)LuaDLL.luaL_checknumber(L, 6);
         bool  o    = CustomerUtil.CaptureCamera(arg0, arg1, arg2, arg3, arg4, arg5);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }