static int SetLimit(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 5); UIDragDropItem obj = (UIDragDropItem)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIDragDropItem"); float arg0 = (float)LuaScriptMgr.GetNumber(L, 2); float arg1 = (float)LuaScriptMgr.GetNumber(L, 3); float arg2 = (float)LuaScriptMgr.GetNumber(L, 4); float arg3 = (float)LuaScriptMgr.GetNumber(L, 5); obj.SetLimit(arg0, arg1, arg2, arg3); return(0); }