static int QPYX_ScaleTexture_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 3); UnityEngine.Texture2D QPYX_arg0_YXQP = (UnityEngine.Texture2D)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.Texture2D)); int QPYX_arg1_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 2); int QPYX_arg2_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 3); UnityEngine.Texture2D QPYX_o_YXQP = CustomerUtil.ScaleTexture(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP); ToLua.PushSealed(L_YXQP, QPYX_o_YXQP); return(1); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int ScaleTexture(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); UnityEngine.Texture2D arg0 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 1, typeof(UnityEngine.Texture2D)); int arg1 = (int)LuaDLL.luaL_checknumber(L, 2); int arg2 = (int)LuaDLL.luaL_checknumber(L, 3); UnityEngine.Texture2D o = CustomerUtil.ScaleTexture(arg0, arg1, arg2); ToLua.PushSealed(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }