static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); UnityEngine.Experimental.UIElements.ScrollView o; if (argc == 1) { o = new UnityEngine.Experimental.UIElements.ScrollView(); pushValue(l, true); pushValue(l, o); return(2); } else if (argc == 3) { UnityEngine.Vector2 a1; checkType(l, 2, out a1); UnityEngine.Vector2 a2; checkType(l, 3, out a2); o = new UnityEngine.Experimental.UIElements.ScrollView(a1, a2); pushValue(l, true); pushValue(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }
static public int get_horizontalScrollerValues(IntPtr l) { try { UnityEngine.Experimental.UIElements.ScrollView self = (UnityEngine.Experimental.UIElements.ScrollView)checkSelf(l); pushValue(l, true); pushValue(l, self.horizontalScrollerValues); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_horizontalScrollerValues(IntPtr l) { try { UnityEngine.Experimental.UIElements.ScrollView self = (UnityEngine.Experimental.UIElements.ScrollView)checkSelf(l); UnityEngine.Vector2 v; checkType(l, 2, out v); self.horizontalScrollerValues = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int set_showVertical(IntPtr l) { try { UnityEngine.Experimental.UIElements.ScrollView self = (UnityEngine.Experimental.UIElements.ScrollView)checkSelf(l); bool v; checkType(l, 2, out v); self.showVertical = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int HandleEvent(IntPtr l) { try { UnityEngine.Experimental.UIElements.ScrollView self = (UnityEngine.Experimental.UIElements.ScrollView)checkSelf(l); UnityEngine.Event a1; checkType(l, 2, out a1); UnityEngine.Experimental.UIElements.VisualElement a2; checkType(l, 3, out a2); var ret = self.HandleEvent(a1, a2); pushValue(l, true); pushEnum(l, (int)ret); return(2); } catch (Exception e) { return(error(l, e)); } }