static public int set_onDraggingScrollEndedHandler(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); UnityEngine.Events.UnityAction v; int op = LuaDelegation.checkDelegate(l, 2, out v); if (op == 0) { self.onDraggingScrollEndedHandler = v; } else if (op == 1) { self.onDraggingScrollEndedHandler += v; } else if (op == 2) { self.onDraggingScrollEndedHandler -= v; } pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_direction(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); pushValue(l, true); pushEnum(l, (int)self.direction); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int get_dragable(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); pushValue(l, true); pushValue(l, self.dragable); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int setContentOffsetToLeft(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); self.setContentOffsetToLeft(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int getContentOffset(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); var ret = self.getContentOffset(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int setContentOffsetWithoutCheck(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); UnityEngine.Vector2 a1; checkType(l, 2, out a1); self.setContentOffsetWithoutCheck(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int OnPointerUp(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); UnityEngine.EventSystems.PointerEventData a1; checkType(l, 2, out a1); self.OnPointerUp(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_dragable(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); System.Boolean v; checkType(l, 2, out v); self.dragable = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_direction(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); Lui.ScrollDirection v; checkEnum(l, 2, out v); self.direction = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_container(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); UnityEngine.GameObject v; checkType(l, 2, out v); self.container = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int setContentOffsetInDuration(IntPtr l) { try { Lui.LScrollView self = (Lui.LScrollView)checkSelf(l); UnityEngine.Vector2 a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); self.setContentOffsetInDuration(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }