static int QPYX_SetSizeScale_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 2); TextWrapEx QPYX_obj_YXQP = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L_YXQP, 1); float QPYX_arg0_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 2); QPYX_obj_YXQP.SetSizeScale(QPYX_arg0_YXQP); return(0); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int SetSizeScale(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); TextWrapEx obj = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.SetSizeScale(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }