static public int StopDragging(IntPtr l) { try { UIDragDropItem self = (UIDragDropItem)checkSelf(l); UnityEngine.GameObject a1; checkType(l, 2, out a1); self.StopDragging(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int StopDragging(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIDragDropItem obj = (UIDragDropItem)ToLua.CheckObject <UIDragDropItem>(L, 1); UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject)); obj.StopDragging(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }