static int MouseToRay(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); float arg0 = (float)LuaDLL.luaL_checknumber(L, 1); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); UnityEngine.Camera arg2 = (UnityEngine.Camera)ToLua.CheckUnityObject(L, 3, typeof(UnityEngine.Camera)); UnityEngine.Vector3 arg3; UnityEngine.Vector3 arg4; UnGfx.MouseToRay(arg0, arg1, arg2, out arg3, out arg4); ToLua.Push(L, arg3); ToLua.Push(L, arg4); return(2); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }