1#[cfg(feature = "unity_engine-ui-scrollrect-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 r#enum::{Enum, IEnum},
12 valuetype::{IValueType, ValueType},
13 },
14 unity_engine::{
15 behaviour::{Behaviour, IBehaviour},
16 component::{Component, IComponent},
17 event_systems::uibehaviour::{IUIBehaviour, UIBehaviour},
18 events::{
19 unityevent_1::{IUnityEvent_1, UnityEvent_1},
20 unityeventbase::{IUnityEventBase, UnityEventBase},
21 },
22 monobehaviour::{IMonoBehaviour, MonoBehaviour},
23 object_2::{IObject_2, Object_2},
24 },
25 };
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/scrollrect/ScrollRect_MovementType.md"))]
28 #[repr(C)]
29 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
30 pub struct ScrollRect_MovementType {
31 pub value: i32,
32 }
33 impl ::unity::ClassIdentity for ScrollRect_MovementType {
34 const NAME: &'static str = "ScrollRect.MovementType";
35 const NAMESPACE: &'static str = "UnityEngine.UI";
36
37 fn class() -> ::unity::Class {
38 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
39 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
40 }
41 }
42 impl ::unity::IlType for ScrollRect_MovementType {
43 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
44 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
45 }
46 }
47 impl ScrollRect_MovementType {
48 pub fn unrestricted() -> Self {
49 Self { value: 0 }
50 }
51
52 pub fn elastic() -> Self {
53 Self { value: 1 }
54 }
55
56 pub fn clamped() -> Self {
57 Self { value: 2 }
58 }
59 }
60
61 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/scrollrect/ScrollRect.md"))]
62 #[::unity::class(namespace = "UnityEngine.UI", name = "ScrollRect")]
63 #[parent(crate::unity_engine::event_systems::uibehaviour::UIBehaviour)]
64 pub struct ScrollRect {
65 #[offset(24)]
66 #[rename(name = "m_Content")]
67 pub m_content: crate::unity_engine::recttransform::RectTransform,
68 #[offset(32)]
69 #[rename(name = "m_Horizontal")]
70 pub m_horizontal: bool,
71 #[offset(33)]
72 #[rename(name = "m_Vertical")]
73 pub m_vertical: bool,
74 #[offset(36)]
75 #[rename(name = "m_MovementType")]
76 pub m_movement_type: crate::unity_engine::ui::scrollrect::ScrollRect_MovementType,
77 #[offset(40)]
78 #[rename(name = "m_Elasticity")]
79 pub m_elasticity: f32,
80 #[offset(44)]
81 #[rename(name = "m_Inertia")]
82 pub m_inertia: bool,
83 #[offset(48)]
84 #[rename(name = "m_DecelerationRate")]
85 pub m_deceleration_rate: f32,
86 #[offset(52)]
87 #[rename(name = "m_ScrollSensitivity")]
88 pub m_scroll_sensitivity: f32,
89 #[offset(56)]
90 #[rename(name = "m_Viewport")]
91 pub m_viewport: crate::unity_engine::recttransform::RectTransform,
92 #[offset(64)]
93 #[rename(name = "m_HorizontalScrollbar")]
94 pub m_horizontal_scrollbar: crate::unity_engine::ui::scrollbar::Scrollbar,
95 #[offset(72)]
96 #[rename(name = "m_VerticalScrollbar")]
97 pub m_vertical_scrollbar: crate::unity_engine::ui::scrollbar::Scrollbar,
98 #[offset(80)]
99 #[rename(name = "m_HorizontalScrollbarVisibility")]
100 pub m_horizontal_scrollbar_visibility: crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility,
101 #[offset(84)]
102 #[rename(name = "m_VerticalScrollbarVisibility")]
103 pub m_vertical_scrollbar_visibility: crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility,
104 #[offset(88)]
105 #[rename(name = "m_HorizontalScrollbarSpacing")]
106 pub m_horizontal_scrollbar_spacing: f32,
107 #[offset(92)]
108 #[rename(name = "m_VerticalScrollbarSpacing")]
109 pub m_vertical_scrollbar_spacing: f32,
110 #[offset(96)]
111 #[rename(name = "m_OnValueChanged")]
112 pub m_on_value_changed: crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent,
113 #[offset(104)]
114 #[rename(name = "m_PointerStartLocalCursor")]
115 pub m_pointer_start_local_cursor: crate::unity_engine::vector2::Vector2,
116 #[offset(112)]
117 #[rename(name = "m_ContentStartPosition")]
118 pub m_content_start_position: crate::unity_engine::vector2::Vector2,
119 #[offset(120)]
120 #[rename(name = "m_ViewRect")]
121 pub m_view_rect: crate::unity_engine::recttransform::RectTransform,
122 #[offset(128)]
123 #[rename(name = "m_ContentBounds")]
124 pub m_content_bounds: crate::unity_engine::bounds::Bounds,
125 #[offset(152)]
126 #[rename(name = "m_ViewBounds")]
127 pub m_view_bounds: crate::unity_engine::bounds::Bounds,
128 #[offset(176)]
129 #[rename(name = "m_Velocity")]
130 pub m_velocity: crate::unity_engine::vector2::Vector2,
131 #[offset(184)]
132 #[rename(name = "m_Dragging")]
133 pub m_dragging: bool,
134 #[offset(185)]
135 #[rename(name = "m_Scrolling")]
136 pub m_scrolling: bool,
137 #[offset(188)]
138 #[rename(name = "m_PrevPosition")]
139 pub m_prev_position: crate::unity_engine::vector2::Vector2,
140 #[offset(196)]
141 #[rename(name = "m_PrevContentBounds")]
142 pub m_prev_content_bounds: crate::unity_engine::bounds::Bounds,
143 #[offset(220)]
144 #[rename(name = "m_PrevViewBounds")]
145 pub m_prev_view_bounds: crate::unity_engine::bounds::Bounds,
146 #[offset(244)]
147 #[rename(name = "m_HasRebuiltLayout")]
148 pub m_has_rebuilt_layout: bool,
149 #[offset(245)]
150 #[rename(name = "m_HSliderExpand")]
151 pub m_h_slider_expand: bool,
152 #[offset(246)]
153 #[rename(name = "m_VSliderExpand")]
154 pub m_v_slider_expand: bool,
155 #[offset(248)]
156 #[rename(name = "m_HSliderHeight")]
157 pub m_h_slider_height: f32,
158 #[offset(252)]
159 #[rename(name = "m_VSliderWidth")]
160 pub m_v_slider_width: f32,
161 #[offset(256)]
162 #[rename(name = "m_Rect")]
163 pub m_rect: crate::unity_engine::recttransform::RectTransform,
164 #[offset(264)]
165 #[rename(name = "m_HorizontalScrollbarRect")]
166 pub m_horizontal_scrollbar_rect: crate::unity_engine::recttransform::RectTransform,
167 #[offset(272)]
168 #[rename(name = "m_VerticalScrollbarRect")]
169 pub m_vertical_scrollbar_rect: crate::unity_engine::recttransform::RectTransform,
170 #[offset(280)]
171 #[rename(name = "m_Tracker")]
172 pub m_tracker: crate::unity_engine::drivenrecttransformtracker::DrivenRectTransformTracker,
173 #[offset(288)]
174 #[rename(name = "m_Corners")]
175 pub m_corners: ::unity::Array<crate::unity_engine::vector3::Vector3>,
176 }
177
178 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/scrollrect/ScrollRect_ScrollRectEvent.md"))]
179 #[::unity::class(namespace = "UnityEngine.UI", name = "ScrollRect.ScrollRectEvent")]
180 #[parent(crate::unity_engine::events::unityevent_1::UnityEvent_1<crate::unity_engine::vector2::Vector2>)]
181 pub struct ScrollRect_ScrollRectEvent {}
182
183 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/scrollrect/ScrollRect_ScrollbarVisibility.md"))]
184 #[repr(C)]
185 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
186 pub struct ScrollRect_ScrollbarVisibility {
187 pub value: i32,
188 }
189 impl ::unity::ClassIdentity for ScrollRect_ScrollbarVisibility {
190 const NAME: &'static str = "ScrollRect.ScrollbarVisibility";
191 const NAMESPACE: &'static str = "UnityEngine.UI";
192
193 fn class() -> ::unity::Class {
194 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
195 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
196 }
197 }
198 impl ::unity::IlType for ScrollRect_ScrollbarVisibility {
199 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
200 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
201 }
202 }
203 impl ScrollRect_ScrollbarVisibility {
204 pub fn permanent() -> Self {
205 Self { value: 0 }
206 }
207
208 pub fn auto_hide() -> Self {
209 Self { value: 1 }
210 }
211
212 pub fn auto_hide_and_expand_viewport() -> Self {
213 Self { value: 2 }
214 }
215 }
216}
217
218#[cfg(feature = "unity_engine-ui-scrollrect-types")]
219pub use __types::*;
220
221#[cfg(feature = "unity_engine-ui-scrollrect")]
222impl ScrollRect {
223 #[doc = "`RubberDelta(f32, f32)` overload"]
224 pub fn rubber_delta(over_stretching: impl ::core::convert::Into<f32>, view_size: impl ::core::convert::Into<f32>) -> f32 {
225 unsafe {
226 ::unity::il2cpp_call!((::unity::module_base()+0x3727070usize)as*mut u8,f32;
227(f32)::core::convert::Into::into(over_stretching),(f32)::core::convert::Into::into(view_size))
228 }
229 }
230
231 #[doc = "`UpdateOneScrollbarVisibility(bool, bool, crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility, crate::unity_engine::ui::scrollbar::Scrollbar)` overload"]
232 pub fn update_one_scrollbar_visibility(
233 x_scrolling_needed: impl ::core::convert::Into<bool>,
234 x_axis_enabled: impl ::core::convert::Into<bool>,
235 scrollbar_visibility: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility>,
236 scrollbar: impl ::core::convert::Into<crate::unity_engine::ui::scrollbar::Scrollbar>,
237 ) -> () {
238 unsafe {
239 ::unity::il2cpp_call!((::unity::module_base()+0x3728bb0usize)as*mut u8,();
240(bool)::core::convert::Into::into(x_scrolling_needed),(bool)::core::convert::Into::into(x_axis_enabled),(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility)::core::convert::Into::into(scrollbar_visibility),(crate::unity_engine::ui::scrollbar::Scrollbar)::core::convert::Into::into(scrollbar))
241 }
242 }
243
244 #[doc = "`AdjustBounds(*mutcrate::unity_engine::bounds::Bounds, *mutcrate::unity_engine::vector2::Vector2, *mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3)` overload"]
245 pub fn adjust_bounds() -> (
246 crate::unity_engine::bounds::Bounds,
247 crate::unity_engine::vector2::Vector2,
248 crate::unity_engine::vector3::Vector3,
249 crate::unity_engine::vector3::Vector3,
250 ) {
251 unsafe {
252 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::bounds::Bounds>::uninit();
253 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
254 let mut __out_2 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
255 let mut __out_3 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
256 ::unity::il2cpp_call!((::unity::module_base()+0x3728cb0usize)as*mut u8,();
257(*mut crate::unity_engine::bounds::Bounds)__out_0.as_mut_ptr(),(*mut crate::unity_engine::vector2::Vector2)__out_1.as_mut_ptr(),(*mut crate::unity_engine::vector3::Vector3)__out_2.as_mut_ptr(),(*mut crate::unity_engine::vector3::Vector3)__out_3.as_mut_ptr());
258 (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init(), __out_3.assume_init())
259 }
260 }
261
262 #[doc = "`InternalGetBounds(::unity::Array<crate::unity_engine::vector3::Vector3>, *mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
263 pub fn internal_get_bounds(
264 corners: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector3::Vector3>>,
265 ) -> (crate::unity_engine::bounds::Bounds, crate::unity_engine::matrix4x4::Matrix4x4) {
266 unsafe {
267 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
268 let __ret = {
269 ::unity::il2cpp_call!((::unity::module_base()+0x3728d60usize)as*mut u8,crate::unity_engine::bounds::Bounds;
270(::unity::Array<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(corners),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr())
271 };
272 (__ret, __out_0.assume_init())
273 }
274 }
275
276 #[doc = "`InternalCalculateOffset(*mutcrate::unity_engine::bounds::Bounds, *mutcrate::unity_engine::bounds::Bounds, bool, bool, crate::unity_engine::ui::scrollrect::ScrollRect_MovementType, *mutcrate::unity_engine::vector2::Vector2)` overload"]
277 pub fn internal_calculate_offset(
278 horizontal: impl ::core::convert::Into<bool>,
279 vertical: impl ::core::convert::Into<bool>,
280 movement_type: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_MovementType>,
281 ) -> (
282 crate::unity_engine::vector2::Vector2,
283 crate::unity_engine::bounds::Bounds,
284 crate::unity_engine::bounds::Bounds,
285 crate::unity_engine::vector2::Vector2,
286 ) {
287 unsafe {
288 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::bounds::Bounds>::uninit();
289 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::bounds::Bounds>::uninit();
290 let mut __out_2 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
291 let __ret = {
292 ::unity::il2cpp_call!((::unity::module_base()+0x37290b0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
293(*mut crate::unity_engine::bounds::Bounds)__out_0.as_mut_ptr(),(*mut crate::unity_engine::bounds::Bounds)__out_1.as_mut_ptr(),(bool)::core::convert::Into::into(horizontal),(bool)::core::convert::Into::into(vertical),(crate::unity_engine::ui::scrollrect::ScrollRect_MovementType)::core::convert::Into::into(movement_type),(*mut crate::unity_engine::vector2::Vector2)__out_2.as_mut_ptr())
294 };
295 (__ret, __out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
296 }
297 }
298}
299
300#[cfg(feature = "unity_engine-ui-scrollrect")]
301pub trait IScrollRectMethods: IScrollRect {
302 #[doc = "`get_content()` overload"]
303 fn get_content(self) -> crate::unity_engine::recttransform::RectTransform {
304 unsafe {
305 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306 ::unity::il2cpp_call!((::unity::module_base()+0x3724ba0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
307(ScrollRect)__receiver)
308 }
309 }
310 #[doc = "`set_content(crate::unity_engine::recttransform::RectTransform)` overload"]
311 fn set_content(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
312 unsafe {
313 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314 ::unity::il2cpp_call!((::unity::module_base()+0x3724bb0usize)as*mut u8,();
315(ScrollRect)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
316 }
317 }
318 #[doc = "`get_horizontal()` overload"]
319 fn get_horizontal(self) -> bool {
320 unsafe {
321 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322 ::unity::il2cpp_call!((::unity::module_base()+0x3724bc0usize)as*mut u8,bool;
323(ScrollRect)__receiver)
324 }
325 }
326 #[doc = "`set_horizontal(bool)` overload"]
327 fn set_horizontal(self, value: impl ::core::convert::Into<bool>) -> () {
328 unsafe {
329 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330 ::unity::il2cpp_call!((::unity::module_base()+0x3724bd0usize)as*mut u8,();
331(ScrollRect)__receiver,(bool)::core::convert::Into::into(value))
332 }
333 }
334 #[doc = "`get_vertical()` overload"]
335 fn get_vertical(self) -> bool {
336 unsafe {
337 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338 ::unity::il2cpp_call!((::unity::module_base()+0x3724be0usize)as*mut u8,bool;
339(ScrollRect)__receiver)
340 }
341 }
342 #[doc = "`set_vertical(bool)` overload"]
343 fn set_vertical(self, value: impl ::core::convert::Into<bool>) -> () {
344 unsafe {
345 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346 ::unity::il2cpp_call!((::unity::module_base()+0x3724bf0usize)as*mut u8,();
347(ScrollRect)__receiver,(bool)::core::convert::Into::into(value))
348 }
349 }
350 #[doc = "`get_movementType()` overload"]
351 fn get_movement_type(self) -> crate::unity_engine::ui::scrollrect::ScrollRect_MovementType {
352 unsafe {
353 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354 ::unity::il2cpp_call!((::unity::module_base()+0x3724c00usize)as*mut u8,crate::unity_engine::ui::scrollrect::ScrollRect_MovementType;
355(ScrollRect)__receiver)
356 }
357 }
358 #[doc = "`set_movementType(crate::unity_engine::ui::scrollrect::ScrollRect_MovementType)` overload"]
359 fn set_movement_type(self, value: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_MovementType>) -> () {
360 unsafe {
361 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
362 ::unity::il2cpp_call!((::unity::module_base()+0x3724c10usize)as*mut u8,();
363(ScrollRect)__receiver,(crate::unity_engine::ui::scrollrect::ScrollRect_MovementType)::core::convert::Into::into(value))
364 }
365 }
366 #[doc = "`get_elasticity()` overload"]
367 fn get_elasticity(self) -> f32 {
368 unsafe {
369 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
370 ::unity::il2cpp_call!((::unity::module_base()+0x3724c20usize)as*mut u8,f32;
371(ScrollRect)__receiver)
372 }
373 }
374 #[doc = "`set_elasticity(f32)` overload"]
375 fn set_elasticity(self, value: impl ::core::convert::Into<f32>) -> () {
376 unsafe {
377 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
378 ::unity::il2cpp_call!((::unity::module_base()+0x3724c30usize)as*mut u8,();
379(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
380 }
381 }
382 #[doc = "`get_inertia()` overload"]
383 fn get_inertia(self) -> bool {
384 unsafe {
385 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386 ::unity::il2cpp_call!((::unity::module_base()+0x3724c40usize)as*mut u8,bool;
387(ScrollRect)__receiver)
388 }
389 }
390 #[doc = "`set_inertia(bool)` overload"]
391 fn set_inertia(self, value: impl ::core::convert::Into<bool>) -> () {
392 unsafe {
393 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394 ::unity::il2cpp_call!((::unity::module_base()+0x3724c50usize)as*mut u8,();
395(ScrollRect)__receiver,(bool)::core::convert::Into::into(value))
396 }
397 }
398 #[doc = "`get_decelerationRate()` overload"]
399 fn get_deceleration_rate(self) -> f32 {
400 unsafe {
401 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x3724c60usize)as*mut u8,f32;
403(ScrollRect)__receiver)
404 }
405 }
406 #[doc = "`set_decelerationRate(f32)` overload"]
407 fn set_deceleration_rate(self, value: impl ::core::convert::Into<f32>) -> () {
408 unsafe {
409 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
410 ::unity::il2cpp_call!((::unity::module_base()+0x3724c70usize)as*mut u8,();
411(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
412 }
413 }
414 #[doc = "`get_scrollSensitivity()` overload"]
415 fn get_scroll_sensitivity(self) -> f32 {
416 unsafe {
417 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
418 ::unity::il2cpp_call!((::unity::module_base()+0x3724c80usize)as*mut u8,f32;
419(ScrollRect)__receiver)
420 }
421 }
422 #[doc = "`set_scrollSensitivity(f32)` overload"]
423 fn set_scroll_sensitivity(self, value: impl ::core::convert::Into<f32>) -> () {
424 unsafe {
425 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
426 ::unity::il2cpp_call!((::unity::module_base()+0x3724c90usize)as*mut u8,();
427(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
428 }
429 }
430 #[doc = "`get_viewport()` overload"]
431 fn get_viewport(self) -> crate::unity_engine::recttransform::RectTransform {
432 unsafe {
433 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
434 ::unity::il2cpp_call!((::unity::module_base()+0x3724ca0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
435(ScrollRect)__receiver)
436 }
437 }
438 #[doc = "`set_viewport(crate::unity_engine::recttransform::RectTransform)` overload"]
439 fn set_viewport(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
440 unsafe {
441 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442 ::unity::il2cpp_call!((::unity::module_base()+0x3724cb0usize)as*mut u8,();
443(ScrollRect)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
444 }
445 }
446 #[doc = "`get_horizontalScrollbar()` overload"]
447 fn get_horizontal_scrollbar(self) -> crate::unity_engine::ui::scrollbar::Scrollbar {
448 unsafe {
449 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 ::unity::il2cpp_call!((::unity::module_base()+0x3724dc0usize)as*mut u8,crate::unity_engine::ui::scrollbar::Scrollbar;
451(ScrollRect)__receiver)
452 }
453 }
454 #[doc = "`set_horizontalScrollbar(crate::unity_engine::ui::scrollbar::Scrollbar)` overload"]
455 fn set_horizontal_scrollbar(self, value: impl ::core::convert::Into<crate::unity_engine::ui::scrollbar::Scrollbar>) -> () {
456 unsafe {
457 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
458 ::unity::il2cpp_call!((::unity::module_base()+0x3724dd0usize)as*mut u8,();
459(ScrollRect)__receiver,(crate::unity_engine::ui::scrollbar::Scrollbar)::core::convert::Into::into(value))
460 }
461 }
462 #[doc = "`get_verticalScrollbar()` overload"]
463 fn get_vertical_scrollbar(self) -> crate::unity_engine::ui::scrollbar::Scrollbar {
464 unsafe {
465 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466 ::unity::il2cpp_call!((::unity::module_base()+0x3724f90usize)as*mut u8,crate::unity_engine::ui::scrollbar::Scrollbar;
467(ScrollRect)__receiver)
468 }
469 }
470 #[doc = "`set_verticalScrollbar(crate::unity_engine::ui::scrollbar::Scrollbar)` overload"]
471 fn set_vertical_scrollbar(self, value: impl ::core::convert::Into<crate::unity_engine::ui::scrollbar::Scrollbar>) -> () {
472 unsafe {
473 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
474 ::unity::il2cpp_call!((::unity::module_base()+0x3724fa0usize)as*mut u8,();
475(ScrollRect)__receiver,(crate::unity_engine::ui::scrollbar::Scrollbar)::core::convert::Into::into(value))
476 }
477 }
478 #[doc = "`get_horizontalScrollbarVisibility()` overload"]
479 fn get_horizontal_scrollbar_visibility(self) -> crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility {
480 unsafe {
481 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
482 ::unity::il2cpp_call!((::unity::module_base()+0x3725160usize)as*mut u8,crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility;
483(ScrollRect)__receiver)
484 }
485 }
486 #[doc = "`set_horizontalScrollbarVisibility(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility)` overload"]
487 fn set_horizontal_scrollbar_visibility(
488 self,
489 value: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility>,
490 ) -> () {
491 unsafe {
492 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
493 ::unity::il2cpp_call!((::unity::module_base()+0x3725170usize)as*mut u8,();
494(ScrollRect)__receiver,(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility)::core::convert::Into::into(value))
495 }
496 }
497 #[doc = "`get_verticalScrollbarVisibility()` overload"]
498 fn get_vertical_scrollbar_visibility(self) -> crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility {
499 unsafe {
500 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
501 ::unity::il2cpp_call!((::unity::module_base()+0x3725180usize)as*mut u8,crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility;
502(ScrollRect)__receiver)
503 }
504 }
505 #[doc = "`set_verticalScrollbarVisibility(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility)` overload"]
506 fn set_vertical_scrollbar_visibility(
507 self,
508 value: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility>,
509 ) -> () {
510 unsafe {
511 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
512 ::unity::il2cpp_call!((::unity::module_base()+0x3725190usize)as*mut u8,();
513(ScrollRect)__receiver,(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollbarVisibility)::core::convert::Into::into(value))
514 }
515 }
516 #[doc = "`get_horizontalScrollbarSpacing()` overload"]
517 fn get_horizontal_scrollbar_spacing(self) -> f32 {
518 unsafe {
519 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
520 ::unity::il2cpp_call!((::unity::module_base()+0x37251a0usize)as*mut u8,f32;
521(ScrollRect)__receiver)
522 }
523 }
524 #[doc = "`set_horizontalScrollbarSpacing(f32)` overload"]
525 fn set_horizontal_scrollbar_spacing(self, value: impl ::core::convert::Into<f32>) -> () {
526 unsafe {
527 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
528 ::unity::il2cpp_call!((::unity::module_base()+0x37251b0usize)as*mut u8,();
529(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
530 }
531 }
532 #[doc = "`get_verticalScrollbarSpacing()` overload"]
533 fn get_vertical_scrollbar_spacing(self) -> f32 {
534 unsafe {
535 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
536 ::unity::il2cpp_call!((::unity::module_base()+0x37252e0usize)as*mut u8,f32;
537(ScrollRect)__receiver)
538 }
539 }
540 #[doc = "`set_verticalScrollbarSpacing(f32)` overload"]
541 fn set_vertical_scrollbar_spacing(self, value: impl ::core::convert::Into<f32>) -> () {
542 unsafe {
543 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
544 ::unity::il2cpp_call!((::unity::module_base()+0x37252f0usize)as*mut u8,();
545(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
546 }
547 }
548 #[doc = "`get_onValueChanged()` overload"]
549 fn get_on_value_changed(self) -> crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent {
550 unsafe {
551 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
552 ::unity::il2cpp_call!((::unity::module_base()+0x3725390usize)as*mut u8,crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent;
553(ScrollRect)__receiver)
554 }
555 }
556 #[doc = "`set_onValueChanged(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent)` overload"]
557 fn set_on_value_changed(self, value: impl ::core::convert::Into<crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent>) -> () {
558 unsafe {
559 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 ::unity::il2cpp_call!((::unity::module_base()+0x37253a0usize)as*mut u8,();
561(ScrollRect)__receiver,(crate::unity_engine::ui::scrollrect::ScrollRect_ScrollRectEvent)::core::convert::Into::into(value))
562 }
563 }
564 #[doc = "`get_viewRect()` overload"]
565 fn get_view_rect(self) -> crate::unity_engine::recttransform::RectTransform {
566 unsafe {
567 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
568 ::unity::il2cpp_call!((::unity::module_base()+0x37253b0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
569(ScrollRect)__receiver)
570 }
571 }
572 #[doc = "`get_velocity()` overload"]
573 fn get_velocity(self) -> crate::unity_engine::vector2::Vector2 {
574 unsafe {
575 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 ::unity::il2cpp_call!((::unity::module_base()+0x37254d0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
577(ScrollRect)__receiver)
578 }
579 }
580 #[doc = "`set_velocity(crate::unity_engine::vector2::Vector2)` overload"]
581 fn set_velocity(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
582 unsafe {
583 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
584 ::unity::il2cpp_call!((::unity::module_base()+0x37254e0usize)as*mut u8,();
585(ScrollRect)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
586 }
587 }
588 #[doc = "`get_rectTransform()` overload"]
589 fn get_rect_transform(self) -> crate::unity_engine::recttransform::RectTransform {
590 unsafe {
591 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
592 ::unity::il2cpp_call!((::unity::module_base()+0x37254f0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
593(ScrollRect)__receiver)
594 }
595 }
596 #[doc = "`.ctor()` overload"]
597 fn ctor(self) -> () {
598 unsafe {
599 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600 ::unity::il2cpp_call!((::unity::module_base()+0x37255b0usize)as*mut u8,();
601(ScrollRect)__receiver)
602 }
603 }
604 #[doc = "`Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate)` overload"]
605 fn rebuild(self, executing: impl ::core::convert::Into<crate::unity_engine::ui::canvasupdate::CanvasUpdate>) -> () {
606 unsafe {
607 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 {
609 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
610 let __vi = *__vt.get(38usize).unwrap_or_else(|| {
611 panic!(
612 "unity: virtual slot {}
613 out of range (vtable len {}
614) on the runtime class behind {}
615 (method `{}
616`)",
617 38usize,
618 __vt.len(),
619 <ScrollRect as ::unity::ClassIdentity>::NAME,
620 "Rebuild",
621 )
622 });
623 let __inner: extern "C" fn(ScrollRect, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
624 ::core::mem::transmute(__vi.method_ptr);
625 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
626 __inner(__receiver, ::core::convert::Into::into(executing), __mi)
627 }
628 }
629 }
630 #[doc = "`LayoutComplete()` overload"]
631 fn layout_complete(self) -> () {
632 unsafe {
633 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
634 {
635 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
636 let __vi = *__vt.get(39usize).unwrap_or_else(|| {
637 panic!(
638 "unity: virtual slot {}
639 out of range (vtable len {}
640) on the runtime class behind {}
641 (method `{}
642`)",
643 39usize,
644 __vt.len(),
645 <ScrollRect as ::unity::ClassIdentity>::NAME,
646 "LayoutComplete",
647 )
648 });
649 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
650 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
651 __inner(__receiver, __mi)
652 }
653 }
654 }
655 #[doc = "`GraphicUpdateComplete()` overload"]
656 fn graphic_update_complete(self) -> () {
657 unsafe {
658 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
659 {
660 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
661 let __vi = *__vt.get(40usize).unwrap_or_else(|| {
662 panic!(
663 "unity: virtual slot {}
664 out of range (vtable len {}
665) on the runtime class behind {}
666 (method `{}
667`)",
668 40usize,
669 __vt.len(),
670 <ScrollRect as ::unity::ClassIdentity>::NAME,
671 "GraphicUpdateComplete",
672 )
673 });
674 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
675 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
676 __inner(__receiver, __mi)
677 }
678 }
679 }
680 #[doc = "`UpdateCachedData()` overload"]
681 fn update_cached_data(self) -> () {
682 unsafe {
683 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x3725710usize)as*mut u8,();
685(ScrollRect)__receiver)
686 }
687 }
688 #[doc = "`OnEnable()` overload"]
689 fn on_enable(self) -> () {
690 unsafe {
691 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
692 {
693 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
694 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
695 panic!(
696 "unity: virtual slot {}
697 out of range (vtable len {}
698) on the runtime class behind {}
699 (method `{}
700`)",
701 5usize,
702 __vt.len(),
703 <ScrollRect as ::unity::ClassIdentity>::NAME,
704 "OnEnable",
705 )
706 });
707 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
708 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
709 __inner(__receiver, __mi)
710 }
711 }
712 }
713 #[doc = "`OnDisable()` overload"]
714 fn on_disable(self) -> () {
715 unsafe {
716 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
717 {
718 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
719 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
720 panic!(
721 "unity: virtual slot {}
722 out of range (vtable len {}
723) on the runtime class behind {}
724 (method `{}
725`)",
726 7usize,
727 __vt.len(),
728 <ScrollRect as ::unity::ClassIdentity>::NAME,
729 "OnDisable",
730 )
731 });
732 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
733 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
734 __inner(__receiver, __mi)
735 }
736 }
737 }
738 #[doc = "`IsActive()` overload"]
739 fn is_active(self) -> bool {
740 unsafe {
741 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
742 {
743 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
744 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
745 panic!(
746 "unity: virtual slot {}
747 out of range (vtable len {}
748) on the runtime class behind {}
749 (method `{}
750`)",
751 9usize,
752 __vt.len(),
753 <ScrollRect as ::unity::ClassIdentity>::NAME,
754 "IsActive",
755 )
756 });
757 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
758 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
759 __inner(__receiver, __mi)
760 }
761 }
762 }
763 #[doc = "`EnsureLayoutHasRebuilt()` overload"]
764 fn ensure_layout_has_rebuilt(self) -> () {
765 unsafe {
766 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
767 ::unity::il2cpp_call!((::unity::module_base()+0x3726940usize)as*mut u8,();
768(ScrollRect)__receiver)
769 }
770 }
771 #[doc = "`StopMovement()` overload"]
772 fn stop_movement(self) -> () {
773 unsafe {
774 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
775 {
776 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
777 let __vi = *__vt.get(41usize).unwrap_or_else(|| {
778 panic!(
779 "unity: virtual slot {}
780 out of range (vtable len {}
781) on the runtime class behind {}
782 (method `{}
783`)",
784 41usize,
785 __vt.len(),
786 <ScrollRect as ::unity::ClassIdentity>::NAME,
787 "StopMovement",
788 )
789 });
790 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
791 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
792 __inner(__receiver, __mi)
793 }
794 }
795 }
796 #[doc = "`OnScroll(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
797 fn on_scroll(self, data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
798 unsafe {
799 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800 {
801 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
802 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
803 panic!(
804 "unity: virtual slot {}
805 out of range (vtable len {}
806) on the runtime class behind {}
807 (method `{}
808`)",
809 42usize,
810 __vt.len(),
811 <ScrollRect as ::unity::ClassIdentity>::NAME,
812 "OnScroll",
813 )
814 });
815 let __inner: extern "C" fn(
816 ScrollRect,
817 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
818 ::unity::OptionalMethod,
819 ) -> () = ::core::mem::transmute(__vi.method_ptr);
820 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
821 __inner(__receiver, ::core::convert::Into::into(data), __mi)
822 }
823 }
824 }
825 #[doc = "`OnInitializePotentialDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
826 fn on_initialize_potential_drag(
827 self,
828 event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>,
829 ) -> () {
830 unsafe {
831 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
832 {
833 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
834 let __vi = *__vt.get(43usize).unwrap_or_else(|| {
835 panic!(
836 "unity: virtual slot {}
837 out of range (vtable len {}
838) on the runtime class behind {}
839 (method `{}
840`)",
841 43usize,
842 __vt.len(),
843 <ScrollRect as ::unity::ClassIdentity>::NAME,
844 "OnInitializePotentialDrag",
845 )
846 });
847 let __inner: extern "C" fn(
848 ScrollRect,
849 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
850 ::unity::OptionalMethod,
851 ) -> () = ::core::mem::transmute(__vi.method_ptr);
852 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
853 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
854 }
855 }
856 }
857 #[doc = "`OnBeginDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
858 fn on_begin_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
859 unsafe {
860 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
861 {
862 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
863 let __vi = *__vt.get(44usize).unwrap_or_else(|| {
864 panic!(
865 "unity: virtual slot {}
866 out of range (vtable len {}
867) on the runtime class behind {}
868 (method `{}
869`)",
870 44usize,
871 __vt.len(),
872 <ScrollRect as ::unity::ClassIdentity>::NAME,
873 "OnBeginDrag",
874 )
875 });
876 let __inner: extern "C" fn(
877 ScrollRect,
878 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
879 ::unity::OptionalMethod,
880 ) -> () = ::core::mem::transmute(__vi.method_ptr);
881 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
882 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
883 }
884 }
885 }
886 #[doc = "`OnEndDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
887 fn on_end_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
888 unsafe {
889 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
890 {
891 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
892 let __vi = *__vt.get(45usize).unwrap_or_else(|| {
893 panic!(
894 "unity: virtual slot {}
895 out of range (vtable len {}
896) on the runtime class behind {}
897 (method `{}
898`)",
899 45usize,
900 __vt.len(),
901 <ScrollRect as ::unity::ClassIdentity>::NAME,
902 "OnEndDrag",
903 )
904 });
905 let __inner: extern "C" fn(
906 ScrollRect,
907 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
908 ::unity::OptionalMethod,
909 ) -> () = ::core::mem::transmute(__vi.method_ptr);
910 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
911 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
912 }
913 }
914 }
915 #[doc = "`OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
916 fn on_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
917 unsafe {
918 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
919 {
920 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
921 let __vi = *__vt.get(46usize).unwrap_or_else(|| {
922 panic!(
923 "unity: virtual slot {}
924 out of range (vtable len {}
925) on the runtime class behind {}
926 (method `{}
927`)",
928 46usize,
929 __vt.len(),
930 <ScrollRect as ::unity::ClassIdentity>::NAME,
931 "OnDrag",
932 )
933 });
934 let __inner: extern "C" fn(
935 ScrollRect,
936 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
937 ::unity::OptionalMethod,
938 ) -> () = ::core::mem::transmute(__vi.method_ptr);
939 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
940 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
941 }
942 }
943 }
944 #[doc = "`SetContentAnchoredPosition(crate::unity_engine::vector2::Vector2)` overload"]
945 fn set_content_anchored_position(self, position: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
946 unsafe {
947 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
948 {
949 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
950 let __vi = *__vt.get(47usize).unwrap_or_else(|| {
951 panic!(
952 "unity: virtual slot {}
953 out of range (vtable len {}
954) on the runtime class behind {}
955 (method `{}
956`)",
957 47usize,
958 __vt.len(),
959 <ScrollRect as ::unity::ClassIdentity>::NAME,
960 "SetContentAnchoredPosition",
961 )
962 });
963 let __inner: extern "C" fn(ScrollRect, crate::unity_engine::vector2::Vector2, ::unity::OptionalMethod) -> () =
964 ::core::mem::transmute(__vi.method_ptr);
965 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
966 __inner(__receiver, ::core::convert::Into::into(position), __mi)
967 }
968 }
969 }
970 #[doc = "`LateUpdate()` overload"]
971 fn late_update(self) -> () {
972 unsafe {
973 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
974 {
975 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
976 let __vi = *__vt.get(48usize).unwrap_or_else(|| {
977 panic!(
978 "unity: virtual slot {}
979 out of range (vtable len {}
980) on the runtime class behind {}
981 (method `{}
982`)",
983 48usize,
984 __vt.len(),
985 <ScrollRect as ::unity::ClassIdentity>::NAME,
986 "LateUpdate",
987 )
988 });
989 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
990 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
991 __inner(__receiver, __mi)
992 }
993 }
994 }
995 #[doc = "`UpdatePrevData()` overload"]
996 fn update_prev_data(self) -> () {
997 unsafe {
998 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
999 ::unity::il2cpp_call!((::unity::module_base()+0x3726340usize)as*mut u8,();
1000(ScrollRect)__receiver)
1001 }
1002 }
1003 #[doc = "`UpdateScrollbars(crate::unity_engine::vector2::Vector2)` overload"]
1004 fn update_scrollbars(self, offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
1005 unsafe {
1006 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1007 ::unity::il2cpp_call!((::unity::module_base()+0x3726060usize)as*mut u8,();
1008(ScrollRect)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(offset))
1009 }
1010 }
1011 #[doc = "`get_normalizedPosition()` overload"]
1012 fn get_normalized_position(self) -> crate::unity_engine::vector2::Vector2 {
1013 unsafe {
1014 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1015 ::unity::il2cpp_call!((::unity::module_base()+0x37278e0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1016(ScrollRect)__receiver)
1017 }
1018 }
1019 #[doc = "`set_normalizedPosition(crate::unity_engine::vector2::Vector2)` overload"]
1020 fn set_normalized_position(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
1021 unsafe {
1022 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1023 ::unity::il2cpp_call!((::unity::module_base()+0x3727ca0usize)as*mut u8,();
1024(ScrollRect)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
1025 }
1026 }
1027 #[doc = "`get_horizontalNormalizedPosition()` overload"]
1028 fn get_horizontal_normalized_position(self) -> f32 {
1029 unsafe {
1030 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1031 ::unity::il2cpp_call!((::unity::module_base()+0x3727a80usize)as*mut u8,f32;
1032(ScrollRect)__receiver)
1033 }
1034 }
1035 #[doc = "`set_horizontalNormalizedPosition(f32)` overload"]
1036 fn set_horizontal_normalized_position(self, value: impl ::core::convert::Into<f32>) -> () {
1037 unsafe {
1038 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1039 ::unity::il2cpp_call!((::unity::module_base()+0x3727d00usize)as*mut u8,();
1040(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
1041 }
1042 }
1043 #[doc = "`get_verticalNormalizedPosition()` overload"]
1044 fn get_vertical_normalized_position(self) -> f32 {
1045 unsafe {
1046 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1047 ::unity::il2cpp_call!((::unity::module_base()+0x3727ba0usize)as*mut u8,f32;
1048(ScrollRect)__receiver)
1049 }
1050 }
1051 #[doc = "`set_verticalNormalizedPosition(f32)` overload"]
1052 fn set_vertical_normalized_position(self, value: impl ::core::convert::Into<f32>) -> () {
1053 unsafe {
1054 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1055 ::unity::il2cpp_call!((::unity::module_base()+0x3727d20usize)as*mut u8,();
1056(ScrollRect)__receiver,(f32)::core::convert::Into::into(value))
1057 }
1058 }
1059 #[doc = "`SetNormalizedPosition(f32, i32)` overload"]
1060 fn set_normalized_position_2(self, value: impl ::core::convert::Into<f32>, axis: impl ::core::convert::Into<i32>) -> () {
1061 unsafe {
1062 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1063 {
1064 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1065 let __vi = *__vt.get(49usize).unwrap_or_else(|| {
1066 panic!(
1067 "unity: virtual slot {}
1068 out of range (vtable len {}
1069) on the runtime class behind {}
1070 (method `{}
1071`)",
1072 49usize,
1073 __vt.len(),
1074 <ScrollRect as ::unity::ClassIdentity>::NAME,
1075 "SetNormalizedPosition",
1076 )
1077 });
1078 let __inner: extern "C" fn(ScrollRect, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1079 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1080 __inner(__receiver, ::core::convert::Into::into(value), ::core::convert::Into::into(axis), __mi)
1081 }
1082 }
1083 }
1084 #[doc = "`OnRectTransformDimensionsChange()` overload"]
1085 fn on_rect_transform_dimensions_change(self) -> () {
1086 unsafe {
1087 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1088 {
1089 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1090 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
1091 panic!(
1092 "unity: virtual slot {}
1093 out of range (vtable len {}
1094) on the runtime class behind {}
1095 (method `{}
1096`)",
1097 10usize,
1098 __vt.len(),
1099 <ScrollRect as ::unity::ClassIdentity>::NAME,
1100 "OnRectTransformDimensionsChange",
1101 )
1102 });
1103 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1104 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1105 __inner(__receiver, __mi)
1106 }
1107 }
1108 }
1109 #[doc = "`get_hScrollingNeeded()` overload"]
1110 fn get_h_scrolling_needed(self) -> bool {
1111 unsafe {
1112 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1113 ::unity::il2cpp_call!((::unity::module_base()+0x3728010usize)as*mut u8,bool;
1114(ScrollRect)__receiver)
1115 }
1116 }
1117 #[doc = "`get_vScrollingNeeded()` overload"]
1118 fn get_v_scrolling_needed(self) -> bool {
1119 unsafe {
1120 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1121 ::unity::il2cpp_call!((::unity::module_base()+0x3728090usize)as*mut u8,bool;
1122(ScrollRect)__receiver)
1123 }
1124 }
1125 #[doc = "`CalculateLayoutInputHorizontal()` overload"]
1126 fn calculate_layout_input_horizontal(self) -> () {
1127 unsafe {
1128 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1129 {
1130 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1131 let __vi = *__vt.get(50usize).unwrap_or_else(|| {
1132 panic!(
1133 "unity: virtual slot {}
1134 out of range (vtable len {}
1135) on the runtime class behind {}
1136 (method `{}
1137`)",
1138 50usize,
1139 __vt.len(),
1140 <ScrollRect as ::unity::ClassIdentity>::NAME,
1141 "CalculateLayoutInputHorizontal",
1142 )
1143 });
1144 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1145 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1146 __inner(__receiver, __mi)
1147 }
1148 }
1149 }
1150 #[doc = "`CalculateLayoutInputVertical()` overload"]
1151 fn calculate_layout_input_vertical(self) -> () {
1152 unsafe {
1153 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1154 {
1155 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1156 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
1157 panic!(
1158 "unity: virtual slot {}
1159 out of range (vtable len {}
1160) on the runtime class behind {}
1161 (method `{}
1162`)",
1163 51usize,
1164 __vt.len(),
1165 <ScrollRect as ::unity::ClassIdentity>::NAME,
1166 "CalculateLayoutInputVertical",
1167 )
1168 });
1169 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1170 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1171 __inner(__receiver, __mi)
1172 }
1173 }
1174 }
1175 #[doc = "`get_minWidth()` overload"]
1176 fn get_min_width(self) -> f32 {
1177 unsafe {
1178 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1179 {
1180 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1181 let __vi = *__vt.get(52usize).unwrap_or_else(|| {
1182 panic!(
1183 "unity: virtual slot {}
1184 out of range (vtable len {}
1185) on the runtime class behind {}
1186 (method `{}
1187`)",
1188 52usize,
1189 __vt.len(),
1190 <ScrollRect as ::unity::ClassIdentity>::NAME,
1191 "get_minWidth",
1192 )
1193 });
1194 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1195 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1196 __inner(__receiver, __mi)
1197 }
1198 }
1199 }
1200 #[doc = "`get_preferredWidth()` overload"]
1201 fn get_preferred_width(self) -> f32 {
1202 unsafe {
1203 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1204 {
1205 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1206 let __vi = *__vt.get(53usize).unwrap_or_else(|| {
1207 panic!(
1208 "unity: virtual slot {}
1209 out of range (vtable len {}
1210) on the runtime class behind {}
1211 (method `{}
1212`)",
1213 53usize,
1214 __vt.len(),
1215 <ScrollRect as ::unity::ClassIdentity>::NAME,
1216 "get_preferredWidth",
1217 )
1218 });
1219 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1220 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1221 __inner(__receiver, __mi)
1222 }
1223 }
1224 }
1225 #[doc = "`get_flexibleWidth()` overload"]
1226 fn get_flexible_width(self) -> f32 {
1227 unsafe {
1228 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1229 {
1230 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1231 let __vi = *__vt.get(54usize).unwrap_or_else(|| {
1232 panic!(
1233 "unity: virtual slot {}
1234 out of range (vtable len {}
1235) on the runtime class behind {}
1236 (method `{}
1237`)",
1238 54usize,
1239 __vt.len(),
1240 <ScrollRect as ::unity::ClassIdentity>::NAME,
1241 "get_flexibleWidth",
1242 )
1243 });
1244 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1245 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1246 __inner(__receiver, __mi)
1247 }
1248 }
1249 }
1250 #[doc = "`get_minHeight()` overload"]
1251 fn get_min_height(self) -> f32 {
1252 unsafe {
1253 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1254 {
1255 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1256 let __vi = *__vt.get(55usize).unwrap_or_else(|| {
1257 panic!(
1258 "unity: virtual slot {}
1259 out of range (vtable len {}
1260) on the runtime class behind {}
1261 (method `{}
1262`)",
1263 55usize,
1264 __vt.len(),
1265 <ScrollRect as ::unity::ClassIdentity>::NAME,
1266 "get_minHeight",
1267 )
1268 });
1269 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1270 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1271 __inner(__receiver, __mi)
1272 }
1273 }
1274 }
1275 #[doc = "`get_preferredHeight()` overload"]
1276 fn get_preferred_height(self) -> f32 {
1277 unsafe {
1278 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1279 {
1280 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1281 let __vi = *__vt.get(56usize).unwrap_or_else(|| {
1282 panic!(
1283 "unity: virtual slot {}
1284 out of range (vtable len {}
1285) on the runtime class behind {}
1286 (method `{}
1287`)",
1288 56usize,
1289 __vt.len(),
1290 <ScrollRect as ::unity::ClassIdentity>::NAME,
1291 "get_preferredHeight",
1292 )
1293 });
1294 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1295 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1296 __inner(__receiver, __mi)
1297 }
1298 }
1299 }
1300 #[doc = "`get_flexibleHeight()` overload"]
1301 fn get_flexible_height(self) -> f32 {
1302 unsafe {
1303 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1304 {
1305 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1306 let __vi = *__vt.get(57usize).unwrap_or_else(|| {
1307 panic!(
1308 "unity: virtual slot {}
1309 out of range (vtable len {}
1310) on the runtime class behind {}
1311 (method `{}
1312`)",
1313 57usize,
1314 __vt.len(),
1315 <ScrollRect as ::unity::ClassIdentity>::NAME,
1316 "get_flexibleHeight",
1317 )
1318 });
1319 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
1320 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1321 __inner(__receiver, __mi)
1322 }
1323 }
1324 }
1325 #[doc = "`get_layoutPriority()` overload"]
1326 fn get_layout_priority(self) -> i32 {
1327 unsafe {
1328 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1329 {
1330 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1331 let __vi = *__vt.get(58usize).unwrap_or_else(|| {
1332 panic!(
1333 "unity: virtual slot {}
1334 out of range (vtable len {}
1335) on the runtime class behind {}
1336 (method `{}
1337`)",
1338 58usize,
1339 __vt.len(),
1340 <ScrollRect as ::unity::ClassIdentity>::NAME,
1341 "get_layoutPriority",
1342 )
1343 });
1344 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
1345 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1346 __inner(__receiver, __mi)
1347 }
1348 }
1349 }
1350 #[doc = "`SetLayoutHorizontal()` overload"]
1351 fn set_layout_horizontal(self) -> () {
1352 unsafe {
1353 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1354 {
1355 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1356 let __vi = *__vt.get(59usize).unwrap_or_else(|| {
1357 panic!(
1358 "unity: virtual slot {}
1359 out of range (vtable len {}
1360) on the runtime class behind {}
1361 (method `{}
1362`)",
1363 59usize,
1364 __vt.len(),
1365 <ScrollRect as ::unity::ClassIdentity>::NAME,
1366 "SetLayoutHorizontal",
1367 )
1368 });
1369 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1370 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1371 __inner(__receiver, __mi)
1372 }
1373 }
1374 }
1375 #[doc = "`SetLayoutVertical()` overload"]
1376 fn set_layout_vertical(self) -> () {
1377 unsafe {
1378 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1379 {
1380 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1381 let __vi = *__vt.get(60usize).unwrap_or_else(|| {
1382 panic!(
1383 "unity: virtual slot {}
1384 out of range (vtable len {}
1385) on the runtime class behind {}
1386 (method `{}
1387`)",
1388 60usize,
1389 __vt.len(),
1390 <ScrollRect as ::unity::ClassIdentity>::NAME,
1391 "SetLayoutVertical",
1392 )
1393 });
1394 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1395 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1396 __inner(__receiver, __mi)
1397 }
1398 }
1399 }
1400 #[doc = "`UpdateScrollbarVisibility()` overload"]
1401 fn update_scrollbar_visibility(self) -> () {
1402 unsafe {
1403 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1404 ::unity::il2cpp_call!((::unity::module_base()+0x3727920usize)as*mut u8,();
1405(ScrollRect)__receiver)
1406 }
1407 }
1408 #[doc = "`UpdateScrollbarLayout()` overload"]
1409 fn update_scrollbar_layout(self) -> () {
1410 unsafe {
1411 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1412 ::unity::il2cpp_call!((::unity::module_base()+0x37288d0usize)as*mut u8,();
1413(ScrollRect)__receiver)
1414 }
1415 }
1416 #[doc = "`UpdateBounds()` overload"]
1417 fn update_bounds(self) -> () {
1418 unsafe {
1419 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1420 ::unity::il2cpp_call!((::unity::module_base()+0x3725b20usize)as*mut u8,();
1421(ScrollRect)__receiver)
1422 }
1423 }
1424 #[doc = "`GetBounds()` overload"]
1425 fn get_bounds(self) -> crate::unity_engine::bounds::Bounds {
1426 unsafe {
1427 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1428 ::unity::il2cpp_call!((::unity::module_base()+0x37286e0usize)as*mut u8,crate::unity_engine::bounds::Bounds;
1429(ScrollRect)__receiver)
1430 }
1431 }
1432 #[doc = "`CalculateOffset(crate::unity_engine::vector2::Vector2)` overload"]
1433 fn calculate_offset(self, delta: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> crate::unity_engine::vector2::Vector2 {
1434 unsafe {
1435 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1436 ::unity::il2cpp_call!((::unity::module_base()+0x3726bc0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1437(ScrollRect)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(delta))
1438 }
1439 }
1440 #[doc = "`SetDirty()` overload"]
1441 fn set_dirty(self) -> () {
1442 unsafe {
1443 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1444 ::unity::il2cpp_call!((::unity::module_base()+0x3725250usize)as*mut u8,();
1445(ScrollRect)__receiver)
1446 }
1447 }
1448 #[doc = "`SetDirtyCaching()` overload"]
1449 fn set_dirty_caching(self) -> () {
1450 unsafe {
1451 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1452 ::unity::il2cpp_call!((::unity::module_base()+0x3724ce0usize)as*mut u8,();
1453(ScrollRect)__receiver)
1454 }
1455 }
1456 #[doc = "`UnityEngine.UI.ICanvasElement.get_transform()` overload"]
1457 fn unity_engine_ui_i_canvas_element_get_transform(self) -> crate::unity_engine::transform::Transform {
1458 unsafe {
1459 let __receiver = <ScrollRect as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1460 {
1461 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1462 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
1463 panic!(
1464 "unity: virtual slot {}
1465 out of range (vtable len {}
1466) on the runtime class behind {}
1467 (method `{}
1468`)",
1469 23usize,
1470 __vt.len(),
1471 <ScrollRect as ::unity::ClassIdentity>::NAME,
1472 "UnityEngine.UI.ICanvasElement.get_transform",
1473 )
1474 });
1475 let __inner: extern "C" fn(ScrollRect, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
1476 ::core::mem::transmute(__vi.method_ptr);
1477 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1478 __inner(__receiver, __mi)
1479 }
1480 }
1481 }
1482}
1483
1484#[cfg(feature = "unity_engine-ui-scrollrect")]
1485impl<__T: IScrollRect> IScrollRectMethods for __T {}
1486
1487#[cfg(feature = "unity_engine-ui-scrollrect")]
1488impl ScrollRect {
1489 pub fn get_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1491 }
1492
1493 pub fn set_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1495 }
1496
1497 pub fn get_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1499 }
1500
1501 pub fn set_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1503 }
1504
1505 pub fn get_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1507 }
1508
1509 pub fn set_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1511 }
1512
1513 pub fn get_movement_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1515 }
1516
1517 pub fn set_movement_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1519 }
1520
1521 pub fn get_elasticity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1522 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1523 }
1524
1525 pub fn set_elasticity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1526 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1527 }
1528
1529 pub fn get_inertia_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1531 }
1532
1533 pub fn set_inertia_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1535 }
1536
1537 pub fn get_deceleration_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1538 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1539 }
1540
1541 pub fn set_deceleration_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1542 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1543 }
1544
1545 pub fn get_scroll_sensitivity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1546 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1547 }
1548
1549 pub fn set_scroll_sensitivity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1550 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1551 }
1552
1553 pub fn get_viewport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1554 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1555 }
1556
1557 pub fn set_viewport_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1558 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1559 }
1560
1561 pub fn get_horizontal_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1563 }
1564
1565 pub fn set_horizontal_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1567 }
1568
1569 pub fn get_vertical_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1570 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1571 }
1572
1573 pub fn set_vertical_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1574 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1575 }
1576
1577 pub fn get_horizontal_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1578 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1579 }
1580
1581 pub fn set_horizontal_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1582 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1583 }
1584
1585 pub fn get_vertical_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1586 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1587 }
1588
1589 pub fn set_vertical_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1590 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1591 }
1592
1593 pub fn get_horizontal_scrollbar_spacing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1594 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1595 }
1596
1597 pub fn set_horizontal_scrollbar_spacing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1598 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1599 }
1600
1601 pub fn get_vertical_scrollbar_spacing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1602 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1603 }
1604
1605 pub fn set_vertical_scrollbar_spacing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1606 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1607 }
1608
1609 pub fn get_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1610 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1611 }
1612
1613 pub fn set_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1615 }
1616
1617 pub fn get_view_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1619 }
1620
1621 pub fn get_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1623 }
1624
1625 pub fn set_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1626 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1627 }
1628
1629 pub fn get_rect_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1630 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1631 }
1632
1633 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1635 }
1636
1637 pub fn rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1638 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1639 }
1640
1641 pub fn layout_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1642 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1643 }
1644
1645 pub fn graphic_update_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1646 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1647 }
1648
1649 pub fn update_cached_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1651 }
1652
1653 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1655 }
1656
1657 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1659 }
1660
1661 pub fn is_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1662 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1663 }
1664
1665 pub fn ensure_layout_has_rebuilt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1666 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1667 }
1668
1669 pub fn stop_movement_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1670 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1671 }
1672
1673 pub fn on_scroll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1674 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1675 }
1676
1677 pub fn on_initialize_potential_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1678 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1679 }
1680
1681 pub fn on_begin_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1682 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1683 }
1684
1685 pub fn on_end_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1687 }
1688
1689 pub fn on_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1691 }
1692
1693 pub fn set_content_anchored_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1695 }
1696
1697 pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1699 }
1700
1701 pub fn update_prev_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1703 }
1704
1705 pub fn update_scrollbars_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1707 }
1708
1709 pub fn get_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1710 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1711 }
1712
1713 pub fn set_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1714 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1715 }
1716
1717 pub fn get_horizontal_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1718 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1719 }
1720
1721 pub fn set_horizontal_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1722 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1723 }
1724
1725 pub fn get_vertical_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1726 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1727 }
1728
1729 pub fn set_vertical_normalized_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1730 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1731 }
1732
1733 pub fn set_normalized_position_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1734 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1735 }
1736
1737 pub fn rubber_delta_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1738 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1739 }
1740
1741 pub fn on_rect_transform_dimensions_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1742 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1743 }
1744
1745 pub fn get_h_scrolling_needed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1746 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1747 }
1748
1749 pub fn get_v_scrolling_needed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1750 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1751 }
1752
1753 pub fn calculate_layout_input_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1754 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1755 }
1756
1757 pub fn calculate_layout_input_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1758 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1759 }
1760
1761 pub fn get_min_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1762 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1763 }
1764
1765 pub fn get_preferred_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1766 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1767 }
1768
1769 pub fn get_flexible_width_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1770 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1771 }
1772
1773 pub fn get_min_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1774 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1775 }
1776
1777 pub fn get_preferred_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1778 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1779 }
1780
1781 pub fn get_flexible_height_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1782 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1783 }
1784
1785 pub fn get_layout_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1786 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1787 }
1788
1789 pub fn set_layout_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1790 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1791 }
1792
1793 pub fn set_layout_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1794 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1795 }
1796
1797 pub fn update_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1798 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1799 }
1800
1801 pub fn update_one_scrollbar_visibility_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1802 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1803 }
1804
1805 pub fn update_scrollbar_layout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1806 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1807 }
1808
1809 pub fn update_bounds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1810 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1811 }
1812
1813 pub fn adjust_bounds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1814 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1815 }
1816
1817 pub fn get_bounds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1818 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1819 }
1820
1821 pub fn internal_get_bounds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1822 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1823 }
1824
1825 pub fn calculate_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1826 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1827 }
1828
1829 pub fn internal_calculate_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1830 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1831 }
1832
1833 pub fn set_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1834 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1835 }
1836
1837 pub fn set_dirty_caching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1838 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1839 }
1840
1841 pub fn unity_engine_ui_i_canvas_element_get_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1842 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1843 }
1844}
1845
1846#[cfg(feature = "unity_engine-ui-scrollrect")]
1847impl ScrollRect {
1848 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `Rebuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1849 pub unsafe fn rebuild(
1850 this: impl ::core::convert::Into<::unity::IlInstance>,
1851 executing: crate::unity_engine::ui::canvasupdate::CanvasUpdate,
1852 ) -> () {
1853 let __mi = Self::rebuild_method_info();
1854 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
1855 ::core::mem::transmute(__mi.method_ptr);
1856 __inner(this.into(), executing, ::core::option::Option::None)
1857 }
1858
1859 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `LayoutComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1860 pub unsafe fn layout_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1861 let __mi = Self::layout_complete_method_info();
1862 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1863 __inner(this.into(), ::core::option::Option::None)
1864 }
1865
1866 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `GraphicUpdateComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1867 pub unsafe fn graphic_update_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1868 let __mi = Self::graphic_update_complete_method_info();
1869 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1870 __inner(this.into(), ::core::option::Option::None)
1871 }
1872
1873 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1874 pub unsafe fn on_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1875 let __mi = Self::on_enable_method_info();
1876 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1877 __inner(this.into(), ::core::option::Option::None)
1878 }
1879
1880 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1881 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1882 let __mi = Self::on_disable_method_info();
1883 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1884 __inner(this.into(), ::core::option::Option::None)
1885 }
1886
1887 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `IsActive`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1888 pub unsafe fn is_active(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1889 let __mi = Self::is_active_method_info();
1890 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1891 __inner(this.into(), ::core::option::Option::None)
1892 }
1893
1894 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `StopMovement`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1895 pub unsafe fn stop_movement(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1896 let __mi = Self::stop_movement_method_info();
1897 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1898 __inner(this.into(), ::core::option::Option::None)
1899 }
1900
1901 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnScroll`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1902 pub unsafe fn on_scroll(
1903 this: impl ::core::convert::Into<::unity::IlInstance>,
1904 data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1905 ) -> () {
1906 let __mi = Self::on_scroll_method_info();
1907 let __inner: extern "C" fn(
1908 ::unity::IlInstance,
1909 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1910 ::unity::OptionalMethod,
1911 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1912 __inner(this.into(), data, ::core::option::Option::None)
1913 }
1914
1915 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnInitializePotentialDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1916 pub unsafe fn on_initialize_potential_drag(
1917 this: impl ::core::convert::Into<::unity::IlInstance>,
1918 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1919 ) -> () {
1920 let __mi = Self::on_initialize_potential_drag_method_info();
1921 let __inner: extern "C" fn(
1922 ::unity::IlInstance,
1923 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1924 ::unity::OptionalMethod,
1925 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1926 __inner(this.into(), event_data, ::core::option::Option::None)
1927 }
1928
1929 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnBeginDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1930 pub unsafe fn on_begin_drag(
1931 this: impl ::core::convert::Into<::unity::IlInstance>,
1932 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1933 ) -> () {
1934 let __mi = Self::on_begin_drag_method_info();
1935 let __inner: extern "C" fn(
1936 ::unity::IlInstance,
1937 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1938 ::unity::OptionalMethod,
1939 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1940 __inner(this.into(), event_data, ::core::option::Option::None)
1941 }
1942
1943 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnEndDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1944 pub unsafe fn on_end_drag(
1945 this: impl ::core::convert::Into<::unity::IlInstance>,
1946 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1947 ) -> () {
1948 let __mi = Self::on_end_drag_method_info();
1949 let __inner: extern "C" fn(
1950 ::unity::IlInstance,
1951 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1952 ::unity::OptionalMethod,
1953 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1954 __inner(this.into(), event_data, ::core::option::Option::None)
1955 }
1956
1957 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1958 pub unsafe fn on_drag(
1959 this: impl ::core::convert::Into<::unity::IlInstance>,
1960 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1961 ) -> () {
1962 let __mi = Self::on_drag_method_info();
1963 let __inner: extern "C" fn(
1964 ::unity::IlInstance,
1965 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1966 ::unity::OptionalMethod,
1967 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1968 __inner(this.into(), event_data, ::core::option::Option::None)
1969 }
1970
1971 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `SetContentAnchoredPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1972 pub unsafe fn set_content_anchored_position(
1973 this: impl ::core::convert::Into<::unity::IlInstance>,
1974 position: crate::unity_engine::vector2::Vector2,
1975 ) -> () {
1976 let __mi = Self::set_content_anchored_position_method_info();
1977 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::vector2::Vector2, ::unity::OptionalMethod) -> () =
1978 ::core::mem::transmute(__mi.method_ptr);
1979 __inner(this.into(), position, ::core::option::Option::None)
1980 }
1981
1982 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `LateUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1983 pub unsafe fn late_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1984 let __mi = Self::late_update_method_info();
1985 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1986 __inner(this.into(), ::core::option::Option::None)
1987 }
1988
1989 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `SetNormalizedPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1990 pub unsafe fn set_normalized_position_2(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32, axis: i32) -> () {
1991 let __mi = Self::set_normalized_position_2_method_info();
1992 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1993 __inner(this.into(), value, axis, ::core::option::Option::None)
1994 }
1995
1996 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `OnRectTransformDimensionsChange`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1997 pub unsafe fn on_rect_transform_dimensions_change(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1998 let __mi = Self::on_rect_transform_dimensions_change_method_info();
1999 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2000 __inner(this.into(), ::core::option::Option::None)
2001 }
2002
2003 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `CalculateLayoutInputHorizontal`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2004 pub unsafe fn calculate_layout_input_horizontal(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2005 let __mi = Self::calculate_layout_input_horizontal_method_info();
2006 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2007 __inner(this.into(), ::core::option::Option::None)
2008 }
2009
2010 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `CalculateLayoutInputVertical`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2011 pub unsafe fn calculate_layout_input_vertical(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2012 let __mi = Self::calculate_layout_input_vertical_method_info();
2013 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2014 __inner(this.into(), ::core::option::Option::None)
2015 }
2016
2017 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_minWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2018 pub unsafe fn get_min_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2019 let __mi = Self::get_min_width_method_info();
2020 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2021 __inner(this.into(), ::core::option::Option::None)
2022 }
2023
2024 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_preferredWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2025 pub unsafe fn get_preferred_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2026 let __mi = Self::get_preferred_width_method_info();
2027 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2028 __inner(this.into(), ::core::option::Option::None)
2029 }
2030
2031 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_flexibleWidth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2032 pub unsafe fn get_flexible_width(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2033 let __mi = Self::get_flexible_width_method_info();
2034 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2035 __inner(this.into(), ::core::option::Option::None)
2036 }
2037
2038 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_minHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2039 pub unsafe fn get_min_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2040 let __mi = Self::get_min_height_method_info();
2041 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2042 __inner(this.into(), ::core::option::Option::None)
2043 }
2044
2045 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_preferredHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2046 pub unsafe fn get_preferred_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2047 let __mi = Self::get_preferred_height_method_info();
2048 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2049 __inner(this.into(), ::core::option::Option::None)
2050 }
2051
2052 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_flexibleHeight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2053 pub unsafe fn get_flexible_height(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
2054 let __mi = Self::get_flexible_height_method_info();
2055 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
2056 __inner(this.into(), ::core::option::Option::None)
2057 }
2058
2059 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `get_layoutPriority`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2060 pub unsafe fn get_layout_priority(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
2061 let __mi = Self::get_layout_priority_method_info();
2062 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2063 __inner(this.into(), ::core::option::Option::None)
2064 }
2065
2066 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `SetLayoutHorizontal`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2067 pub unsafe fn set_layout_horizontal(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2068 let __mi = Self::set_layout_horizontal_method_info();
2069 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2070 __inner(this.into(), ::core::option::Option::None)
2071 }
2072
2073 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `SetLayoutVertical`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2074 pub unsafe fn set_layout_vertical(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2075 let __mi = Self::set_layout_vertical_method_info();
2076 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2077 __inner(this.into(), ::core::option::Option::None)
2078 }
2079
2080 #[doc = "Direct (non-virtual) call to `ScrollRect`'s own `UnityEngine.UI.ICanvasElement.get_transform`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2081 pub unsafe fn unity_engine_ui_i_canvas_element_get_transform(
2082 this: impl ::core::convert::Into<::unity::IlInstance>,
2083 ) -> crate::unity_engine::transform::Transform {
2084 let __mi = Self::unity_engine_ui_i_canvas_element_get_transform_method_info();
2085 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
2086 ::core::mem::transmute(__mi.method_ptr);
2087 __inner(this.into(), ::core::option::Option::None)
2088 }
2089}
2090
2091#[cfg(feature = "unity_engine-ui-scrollrect")]
2092impl ScrollRect {
2093 #[doc = "`.ctor()` — no args"]
2094 pub fn new() -> Self {
2095 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2096 panic!(
2097 "{}
2098::{}
2099 failed to instantiate",
2100 ::core::stringify!(ScrollRect),
2101 ::core::stringify!(new),
2102 )
2103 });
2104 <Self as IScrollRectMethods>::ctor(this);
2105 this
2106 }
2107}
2108
2109#[cfg(feature = "unity_engine-ui-scrollrect")]
2110pub trait IScrollRect_ScrollRectEventMethods: IScrollRect_ScrollRectEvent {
2111 #[doc = "`.ctor()` overload"]
2112 fn ctor(self) -> () {
2113 unsafe {
2114 let __receiver =
2115 <ScrollRect_ScrollRectEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2116 ::unity::il2cpp_call!((::unity::module_base()+0x3c0fe50usize)as*mut u8,();
2117(ScrollRect_ScrollRectEvent)__receiver)
2118 }
2119 }
2120}
2121
2122#[cfg(feature = "unity_engine-ui-scrollrect")]
2123impl<__T: IScrollRect_ScrollRectEvent> IScrollRect_ScrollRectEventMethods for __T {}
2124
2125#[cfg(feature = "unity_engine-ui-scrollrect")]
2126impl ScrollRect_ScrollRectEvent {
2127 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2129 }
2130}
2131
2132#[cfg(feature = "unity_engine-ui-scrollrect")]
2133impl ScrollRect_ScrollRectEvent {
2134 #[doc = "`.ctor()` — no args"]
2135 pub fn new() -> Self {
2136 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2137 panic!(
2138 "{}
2139::{}
2140 failed to instantiate",
2141 ::core::stringify!(ScrollRect_ScrollRectEvent),
2142 ::core::stringify!(new),
2143 )
2144 });
2145 <Self as IScrollRect_ScrollRectEventMethods>::ctor(this);
2146 this
2147 }
2148}
2149
2150#[cfg(feature = "unity_engine-ui-scrollrect")]
2151#[doc(hidden)]
2152pub mod prelude {
2153 pub use super::{
2154 IScrollRect, IScrollRectMethods, IScrollRect_ScrollRectEvent, IScrollRect_ScrollRectEventMethods, ScrollRect, ScrollRect_MovementType,
2155 ScrollRect_ScrollRectEvent, ScrollRect_ScrollbarVisibility,
2156 };
2157 #[cfg(feature = "system-object")]
2158 pub use crate::system::object::IObjectMethods;
2159 #[cfg(feature = "system-enum")]
2160 pub use crate::system::r#enum::IEnumMethods;
2161 #[cfg(feature = "system-valuetype")]
2162 pub use crate::system::valuetype::IValueTypeMethods;
2163 #[cfg(feature = "unity_engine-behaviour")]
2164 pub use crate::unity_engine::behaviour::IBehaviourMethods;
2165 #[cfg(feature = "unity_engine-component")]
2166 pub use crate::unity_engine::component::IComponentMethods;
2167 #[cfg(feature = "unity_engine-event_systems-uibehaviour")]
2168 pub use crate::unity_engine::event_systems::uibehaviour::IUIBehaviourMethods;
2169 #[cfg(feature = "unity_engine-events-unityevent_1")]
2170 pub use crate::unity_engine::events::unityevent_1::IUnityEvent_1Methods;
2171 #[cfg(feature = "unity_engine-events-unityeventbase")]
2172 pub use crate::unity_engine::events::unityeventbase::IUnityEventBaseMethods;
2173 #[cfg(feature = "unity_engine-monobehaviour")]
2174 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
2175 #[cfg(feature = "unity_engine-object_2")]
2176 pub use crate::unity_engine::object_2::IObject_2Methods;
2177 pub use crate::{
2178 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
2179 unity_engine::{
2180 behaviour::IBehaviour,
2181 component::IComponent,
2182 event_systems::uibehaviour::IUIBehaviour,
2183 events::{unityevent_1::IUnityEvent_1, unityeventbase::IUnityEventBase},
2184 monobehaviour::IMonoBehaviour,
2185 object_2::IObject_2,
2186 },
2187 };
2188}