// fields // properties static void ScrollViewScope_scrollPosition(JSVCall vc) { UnityEngine.GUI.ScrollViewScope _this = (UnityEngine.GUI.ScrollViewScope)vc.csObj; var result = _this.scrollPosition; JSApi.setVector2S((int)JSApi.SetType.Rval, result); }
static public int get_scrollPosition(IntPtr l) { try { UnityEngine.GUI.ScrollViewScope self = (UnityEngine.GUI.ScrollViewScope)checkSelf(l); pushValue(l, true); pushValue(l, self.scrollPosition); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_handleScrollWheel(IntPtr l) { try { UnityEngine.GUI.ScrollViewScope self = (UnityEngine.GUI.ScrollViewScope)checkSelf(l); bool v; checkType(l, 2, out v); self.handleScrollWheel = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static void ScrollViewScope_handleScrollWheel(JSVCall vc) { if (vc.bGet) { UnityEngine.GUI.ScrollViewScope _this = (UnityEngine.GUI.ScrollViewScope)vc.csObj; var result = _this.handleScrollWheel; JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result)); } else { System.Boolean arg0 = (System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.Arg); UnityEngine.GUI.ScrollViewScope _this = (UnityEngine.GUI.ScrollViewScope)vc.csObj; _this.handleScrollWheel = arg0; } }
static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); UnityEngine.GUI.ScrollViewScope o; if (argc == 4) { UnityEngine.Rect a1; checkValueType(l, 2, out a1); UnityEngine.Vector2 a2; checkType(l, 3, out a2); UnityEngine.Rect a3; checkValueType(l, 4, out a3); o = new UnityEngine.GUI.ScrollViewScope(a1, a2, a3); pushValue(l, true); pushValue(l, o); return(2); } else if (matchType(l, argc, 2, typeof(UnityEngine.Rect), typeof(UnityEngine.Vector2), typeof(UnityEngine.Rect), typeof(bool), typeof(bool))) { UnityEngine.Rect a1; checkValueType(l, 2, out a1); UnityEngine.Vector2 a2; checkType(l, 3, out a2); UnityEngine.Rect a3; checkValueType(l, 4, out a3); System.Boolean a4; checkType(l, 5, out a4); System.Boolean a5; checkType(l, 6, out a5); o = new UnityEngine.GUI.ScrollViewScope(a1, a2, a3, a4, a5); pushValue(l, true); pushValue(l, o); return(2); } else if (matchType(l, argc, 2, typeof(UnityEngine.Rect), typeof(UnityEngine.Vector2), typeof(UnityEngine.Rect), typeof(UnityEngine.GUIStyle), typeof(UnityEngine.GUIStyle))) { UnityEngine.Rect a1; checkValueType(l, 2, out a1); UnityEngine.Vector2 a2; checkType(l, 3, out a2); UnityEngine.Rect a3; checkValueType(l, 4, out a3); UnityEngine.GUIStyle a4; checkType(l, 5, out a4); UnityEngine.GUIStyle a5; checkType(l, 6, out a5); o = new UnityEngine.GUI.ScrollViewScope(a1, a2, a3, a4, a5); pushValue(l, true); pushValue(l, o); return(2); } else if (argc == 8) { UnityEngine.Rect a1; checkValueType(l, 2, out a1); UnityEngine.Vector2 a2; checkType(l, 3, out a2); UnityEngine.Rect a3; checkValueType(l, 4, out a3); System.Boolean a4; checkType(l, 5, out a4); System.Boolean a5; checkType(l, 6, out a5); UnityEngine.GUIStyle a6; checkType(l, 7, out a6); UnityEngine.GUIStyle a7; checkType(l, 8, out a7); o = new UnityEngine.GUI.ScrollViewScope(a1, a2, a3, a4, a5, a6, a7); pushValue(l, true); pushValue(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }