1#[cfg(feature = "unity_engine-ui-slider-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 ui::selectable::{ISelectable, Selectable},
25 },
26 };
27
28 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/slider/Slider_SliderEvent.md"))]
29 #[::unity::class(namespace = "UnityEngine.UI", name = "Slider.SliderEvent")]
30 #[parent(crate::unity_engine::events::unityevent_1::UnityEvent_1<f32>)]
31 pub struct Slider_SliderEvent {}
32
33 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/slider/Slider_Axis.md"))]
34 #[repr(C)]
35 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
36 pub struct Slider_Axis {
37 pub value: i32,
38 }
39 impl ::unity::ClassIdentity for Slider_Axis {
40 const NAME: &'static str = "Slider.Axis";
41 const NAMESPACE: &'static str = "UnityEngine.UI";
42
43 fn class() -> ::unity::Class {
44 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
45 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
46 }
47 }
48 impl ::unity::IlType for Slider_Axis {
49 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
50 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
51 }
52 }
53 impl Slider_Axis {
54 pub fn horizontal() -> Self {
55 Self { value: 0 }
56 }
57
58 pub fn vertical() -> Self {
59 Self { value: 1 }
60 }
61 }
62
63 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/slider/Slider_Direction.md"))]
64 #[repr(C)]
65 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
66 pub struct Slider_Direction {
67 pub value: i32,
68 }
69 impl ::unity::ClassIdentity for Slider_Direction {
70 const NAME: &'static str = "Slider.Direction";
71 const NAMESPACE: &'static str = "UnityEngine.UI";
72
73 fn class() -> ::unity::Class {
74 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
75 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
76 }
77 }
78 impl ::unity::IlType for Slider_Direction {
79 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
80 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
81 }
82 }
83 impl Slider_Direction {
84 pub fn left_to_right() -> Self {
85 Self { value: 0 }
86 }
87
88 pub fn right_to_left() -> Self {
89 Self { value: 1 }
90 }
91
92 pub fn bottom_to_top() -> Self {
93 Self { value: 2 }
94 }
95
96 pub fn top_to_bottom() -> Self {
97 Self { value: 3 }
98 }
99 }
100
101 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/ui/slider/Slider.md"))]
102 #[::unity::class(namespace = "UnityEngine.UI", name = "Slider")]
103 #[parent(crate::unity_engine::ui::selectable::Selectable)]
104 pub struct Slider {
105 #[offset(248)]
106 #[rename(name = "m_FillRect")]
107 pub m_fill_rect: crate::unity_engine::recttransform::RectTransform,
108 #[offset(256)]
109 #[rename(name = "m_HandleRect")]
110 pub m_handle_rect: crate::unity_engine::recttransform::RectTransform,
111 #[offset(264)]
112 #[rename(name = "m_Direction")]
113 pub m_direction: crate::unity_engine::ui::slider::Slider_Direction,
114 #[offset(268)]
115 #[rename(name = "m_MinValue")]
116 pub m_min_value: f32,
117 #[offset(272)]
118 #[rename(name = "m_MaxValue")]
119 pub m_max_value: f32,
120 #[offset(276)]
121 #[rename(name = "m_WholeNumbers")]
122 pub m_whole_numbers: bool,
123 #[offset(280)]
124 #[rename(name = "m_Value")]
125 pub m_value: f32,
126 #[offset(288)]
127 #[rename(name = "m_OnValueChanged")]
128 pub m_on_value_changed: crate::unity_engine::ui::slider::Slider_SliderEvent,
129 #[offset(296)]
130 #[rename(name = "m_FillImage")]
131 pub m_fill_image: crate::unity_engine::ui::image::Image,
132 #[offset(304)]
133 #[rename(name = "m_FillTransform")]
134 pub m_fill_transform: crate::unity_engine::transform::Transform,
135 #[offset(312)]
136 #[rename(name = "m_FillContainerRect")]
137 pub m_fill_container_rect: crate::unity_engine::recttransform::RectTransform,
138 #[offset(320)]
139 #[rename(name = "m_HandleTransform")]
140 pub m_handle_transform: crate::unity_engine::transform::Transform,
141 #[offset(328)]
142 #[rename(name = "m_HandleContainerRect")]
143 pub m_handle_container_rect: crate::unity_engine::recttransform::RectTransform,
144 #[offset(336)]
145 #[rename(name = "m_Offset")]
146 pub m_offset: crate::unity_engine::vector2::Vector2,
147 #[offset(344)]
148 #[rename(name = "m_Tracker")]
149 pub m_tracker: crate::unity_engine::drivenrecttransformtracker::DrivenRectTransformTracker,
150 #[offset(345)]
151 #[rename(name = "m_DelayedUpdateVisuals")]
152 pub m_delayed_update_visuals: bool,
153 }
154}
155
156#[cfg(feature = "unity_engine-ui-slider-types")]
157pub use __types::*;
158
159#[cfg(feature = "unity_engine-ui-slider")]
160pub trait ISlider_SliderEventMethods: ISlider_SliderEvent {
161 #[doc = "`.ctor()` overload"]
162 fn ctor(self) -> () {
163 unsafe {
164 let __receiver = <Slider_SliderEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165 ::unity::il2cpp_call!((::unity::module_base()+0x3c10180usize)as*mut u8,();
166(Slider_SliderEvent)__receiver)
167 }
168 }
169}
170
171#[cfg(feature = "unity_engine-ui-slider")]
172impl<__T: ISlider_SliderEvent> ISlider_SliderEventMethods for __T {}
173
174#[cfg(feature = "unity_engine-ui-slider")]
175impl Slider_SliderEvent {
176 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
178 }
179}
180
181#[cfg(feature = "unity_engine-ui-slider")]
182impl Slider_SliderEvent {
183 #[doc = "`.ctor()` — no args"]
184 pub fn new() -> Self {
185 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
186 panic!(
187 "{}
188::{}
189 failed to instantiate",
190 ::core::stringify!(Slider_SliderEvent),
191 ::core::stringify!(new),
192 )
193 });
194 <Self as ISlider_SliderEventMethods>::ctor(this);
195 this
196 }
197}
198
199#[cfg(feature = "unity_engine-ui-slider")]
200pub trait ISliderMethods: ISlider {
201 #[doc = "`get_fillRect()` overload"]
202 fn get_fill_rect(self) -> crate::unity_engine::recttransform::RectTransform {
203 unsafe {
204 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205 ::unity::il2cpp_call!((::unity::module_base()+0x372e5c0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
206(Slider)__receiver)
207 }
208 }
209 #[doc = "`set_fillRect(crate::unity_engine::recttransform::RectTransform)` overload"]
210 fn set_fill_rect(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
211 unsafe {
212 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213 ::unity::il2cpp_call!((::unity::module_base()+0x372e5d0usize)as*mut u8,();
214(Slider)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
215 }
216 }
217 #[doc = "`get_handleRect()` overload"]
218 fn get_handle_rect(self) -> crate::unity_engine::recttransform::RectTransform {
219 unsafe {
220 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221 ::unity::il2cpp_call!((::unity::module_base()+0x372ecd0usize)as*mut u8,crate::unity_engine::recttransform::RectTransform;
222(Slider)__receiver)
223 }
224 }
225 #[doc = "`set_handleRect(crate::unity_engine::recttransform::RectTransform)` overload"]
226 fn set_handle_rect(self, value: impl ::core::convert::Into<crate::unity_engine::recttransform::RectTransform>) -> () {
227 unsafe {
228 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229 ::unity::il2cpp_call!((::unity::module_base()+0x372ece0usize)as*mut u8,();
230(Slider)__receiver,(crate::unity_engine::recttransform::RectTransform)::core::convert::Into::into(value))
231 }
232 }
233 #[doc = "`get_direction()` overload"]
234 fn get_direction(self) -> crate::unity_engine::ui::slider::Slider_Direction {
235 unsafe {
236 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237 ::unity::il2cpp_call!((::unity::module_base()+0x372ed60usize)as*mut u8,crate::unity_engine::ui::slider::Slider_Direction;
238(Slider)__receiver)
239 }
240 }
241 #[doc = "`set_direction(crate::unity_engine::ui::slider::Slider_Direction)` overload"]
242 fn set_direction(self, value: impl ::core::convert::Into<crate::unity_engine::ui::slider::Slider_Direction>) -> () {
243 unsafe {
244 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
245 ::unity::il2cpp_call!((::unity::module_base()+0x372ed70usize)as*mut u8,();
246(Slider)__receiver,(crate::unity_engine::ui::slider::Slider_Direction)::core::convert::Into::into(value))
247 }
248 }
249 #[doc = "`get_minValue()` overload"]
250 fn get_min_value(self) -> f32 {
251 unsafe {
252 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253 ::unity::il2cpp_call!((::unity::module_base()+0x372edf0usize)as*mut u8,f32;
254(Slider)__receiver)
255 }
256 }
257 #[doc = "`set_minValue(f32)` overload"]
258 fn set_min_value(self, value: impl ::core::convert::Into<f32>) -> () {
259 unsafe {
260 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
261 ::unity::il2cpp_call!((::unity::module_base()+0x372ee00usize)as*mut u8,();
262(Slider)__receiver,(f32)::core::convert::Into::into(value))
263 }
264 }
265 #[doc = "`get_maxValue()` overload"]
266 fn get_max_value(self) -> f32 {
267 unsafe {
268 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269 ::unity::il2cpp_call!((::unity::module_base()+0x372eea0usize)as*mut u8,f32;
270(Slider)__receiver)
271 }
272 }
273 #[doc = "`set_maxValue(f32)` overload"]
274 fn set_max_value(self, value: impl ::core::convert::Into<f32>) -> () {
275 unsafe {
276 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277 ::unity::il2cpp_call!((::unity::module_base()+0x372eeb0usize)as*mut u8,();
278(Slider)__receiver,(f32)::core::convert::Into::into(value))
279 }
280 }
281 #[doc = "`get_wholeNumbers()` overload"]
282 fn get_whole_numbers(self) -> bool {
283 unsafe {
284 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
285 ::unity::il2cpp_call!((::unity::module_base()+0x372ef50usize)as*mut u8,bool;
286(Slider)__receiver)
287 }
288 }
289 #[doc = "`set_wholeNumbers(bool)` overload"]
290 fn set_whole_numbers(self, value: impl ::core::convert::Into<bool>) -> () {
291 unsafe {
292 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
293 ::unity::il2cpp_call!((::unity::module_base()+0x372ef60usize)as*mut u8,();
294(Slider)__receiver,(bool)::core::convert::Into::into(value))
295 }
296 }
297 #[doc = "`get_value()` overload"]
298 fn get_value(self) -> f32 {
299 unsafe {
300 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
301 {
302 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
303 let __vi = *__vt.get(46usize).unwrap_or_else(|| {
304 panic!(
305 "unity: virtual slot {}
306 out of range (vtable len {}
307) on the runtime class behind {}
308 (method `{}
309`)",
310 46usize,
311 __vt.len(),
312 <Slider as ::unity::ClassIdentity>::NAME,
313 "get_value",
314 )
315 });
316 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
317 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
318 __inner(__receiver, __mi)
319 }
320 }
321 }
322 #[doc = "`set_value(f32)` overload"]
323 fn set_value(self, value: impl ::core::convert::Into<f32>) -> () {
324 unsafe {
325 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 {
327 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
328 let __vi = *__vt.get(47usize).unwrap_or_else(|| {
329 panic!(
330 "unity: virtual slot {}
331 out of range (vtable len {}
332) on the runtime class behind {}
333 (method `{}
334`)",
335 47usize,
336 __vt.len(),
337 <Slider as ::unity::ClassIdentity>::NAME,
338 "set_value",
339 )
340 });
341 let __inner: extern "C" fn(Slider, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
342 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
343 __inner(__receiver, ::core::convert::Into::into(value), __mi)
344 }
345 }
346 }
347 #[doc = "`SetValueWithoutNotify(f32)` overload"]
348 fn set_value_without_notify(self, input: impl ::core::convert::Into<f32>) -> () {
349 unsafe {
350 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351 {
352 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
353 let __vi = *__vt.get(48usize).unwrap_or_else(|| {
354 panic!(
355 "unity: virtual slot {}
356 out of range (vtable len {}
357) on the runtime class behind {}
358 (method `{}
359`)",
360 48usize,
361 __vt.len(),
362 <Slider as ::unity::ClassIdentity>::NAME,
363 "SetValueWithoutNotify",
364 )
365 });
366 let __inner: extern "C" fn(Slider, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
367 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
368 __inner(__receiver, ::core::convert::Into::into(input), __mi)
369 }
370 }
371 }
372 #[doc = "`get_normalizedValue()` overload"]
373 fn get_normalized_value(self) -> f32 {
374 unsafe {
375 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x372f100usize)as*mut u8,f32;
377(Slider)__receiver)
378 }
379 }
380 #[doc = "`set_normalizedValue(f32)` overload"]
381 fn set_normalized_value(self, value: impl ::core::convert::Into<f32>) -> () {
382 unsafe {
383 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384 ::unity::il2cpp_call!((::unity::module_base()+0x372f180usize)as*mut u8,();
385(Slider)__receiver,(f32)::core::convert::Into::into(value))
386 }
387 }
388 #[doc = "`get_onValueChanged()` overload"]
389 fn get_on_value_changed(self) -> crate::unity_engine::ui::slider::Slider_SliderEvent {
390 unsafe {
391 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 ::unity::il2cpp_call!((::unity::module_base()+0x372f1c0usize)as*mut u8,crate::unity_engine::ui::slider::Slider_SliderEvent;
393(Slider)__receiver)
394 }
395 }
396 #[doc = "`set_onValueChanged(crate::unity_engine::ui::slider::Slider_SliderEvent)` overload"]
397 fn set_on_value_changed(self, value: impl ::core::convert::Into<crate::unity_engine::ui::slider::Slider_SliderEvent>) -> () {
398 unsafe {
399 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
400 ::unity::il2cpp_call!((::unity::module_base()+0x372f1d0usize)as*mut u8,();
401(Slider)__receiver,(crate::unity_engine::ui::slider::Slider_SliderEvent)::core::convert::Into::into(value))
402 }
403 }
404 #[doc = "`get_stepSize()` overload"]
405 fn get_step_size(self) -> f32 {
406 unsafe {
407 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
408 ::unity::il2cpp_call!((::unity::module_base()+0x372f1e0usize)as*mut u8,f32;
409(Slider)__receiver)
410 }
411 }
412 #[doc = "`.ctor()` overload"]
413 fn ctor(self) -> () {
414 unsafe {
415 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 ::unity::il2cpp_call!((::unity::module_base()+0x372f210usize)as*mut u8,();
417(Slider)__receiver)
418 }
419 }
420 #[doc = "`Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate)` overload"]
421 fn rebuild(self, executing: impl ::core::convert::Into<crate::unity_engine::ui::canvasupdate::CanvasUpdate>) -> () {
422 unsafe {
423 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424 {
425 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
426 let __vi = *__vt.get(49usize).unwrap_or_else(|| {
427 panic!(
428 "unity: virtual slot {}
429 out of range (vtable len {}
430) on the runtime class behind {}
431 (method `{}
432`)",
433 49usize,
434 __vt.len(),
435 <Slider as ::unity::ClassIdentity>::NAME,
436 "Rebuild",
437 )
438 });
439 let __inner: extern "C" fn(Slider, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
440 ::core::mem::transmute(__vi.method_ptr);
441 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
442 __inner(__receiver, ::core::convert::Into::into(executing), __mi)
443 }
444 }
445 }
446 #[doc = "`LayoutComplete()` overload"]
447 fn layout_complete(self) -> () {
448 unsafe {
449 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
450 {
451 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
452 let __vi = *__vt.get(50usize).unwrap_or_else(|| {
453 panic!(
454 "unity: virtual slot {}
455 out of range (vtable len {}
456) on the runtime class behind {}
457 (method `{}
458`)",
459 50usize,
460 __vt.len(),
461 <Slider as ::unity::ClassIdentity>::NAME,
462 "LayoutComplete",
463 )
464 });
465 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
466 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
467 __inner(__receiver, __mi)
468 }
469 }
470 }
471 #[doc = "`GraphicUpdateComplete()` overload"]
472 fn graphic_update_complete(self) -> () {
473 unsafe {
474 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475 {
476 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
477 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
478 panic!(
479 "unity: virtual slot {}
480 out of range (vtable len {}
481) on the runtime class behind {}
482 (method `{}
483`)",
484 51usize,
485 __vt.len(),
486 <Slider as ::unity::ClassIdentity>::NAME,
487 "GraphicUpdateComplete",
488 )
489 });
490 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
491 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
492 __inner(__receiver, __mi)
493 }
494 }
495 }
496 #[doc = "`OnEnable()` overload"]
497 fn on_enable(self) -> () {
498 unsafe {
499 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500 {
501 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
502 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
503 panic!(
504 "unity: virtual slot {}
505 out of range (vtable len {}
506) on the runtime class behind {}
507 (method `{}
508`)",
509 5usize,
510 __vt.len(),
511 <Slider as ::unity::ClassIdentity>::NAME,
512 "OnEnable",
513 )
514 });
515 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
516 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
517 __inner(__receiver, __mi)
518 }
519 }
520 }
521 #[doc = "`OnDisable()` overload"]
522 fn on_disable(self) -> () {
523 unsafe {
524 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525 {
526 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
527 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
528 panic!(
529 "unity: virtual slot {}
530 out of range (vtable len {}
531) on the runtime class behind {}
532 (method `{}
533`)",
534 7usize,
535 __vt.len(),
536 <Slider as ::unity::ClassIdentity>::NAME,
537 "OnDisable",
538 )
539 });
540 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
541 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
542 __inner(__receiver, __mi)
543 }
544 }
545 }
546 #[doc = "`Update()` overload"]
547 fn update(self) -> () {
548 unsafe {
549 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 {
551 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
552 let __vi = *__vt.get(52usize).unwrap_or_else(|| {
553 panic!(
554 "unity: virtual slot {}
555 out of range (vtable len {}
556) on the runtime class behind {}
557 (method `{}
558`)",
559 52usize,
560 __vt.len(),
561 <Slider as ::unity::ClassIdentity>::NAME,
562 "Update",
563 )
564 });
565 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
566 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
567 __inner(__receiver, __mi)
568 }
569 }
570 }
571 #[doc = "`OnDidApplyAnimationProperties()` overload"]
572 fn on_did_apply_animation_properties(self) -> () {
573 unsafe {
574 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
575 {
576 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
577 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
578 panic!(
579 "unity: virtual slot {}
580 out of range (vtable len {}
581) on the runtime class behind {}
582 (method `{}
583`)",
584 13usize,
585 __vt.len(),
586 <Slider as ::unity::ClassIdentity>::NAME,
587 "OnDidApplyAnimationProperties",
588 )
589 });
590 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
591 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
592 __inner(__receiver, __mi)
593 }
594 }
595 }
596 #[doc = "`UpdateCachedReferences()` overload"]
597 fn update_cached_references(self) -> () {
598 unsafe {
599 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600 ::unity::il2cpp_call!((::unity::module_base()+0x372e650usize)as*mut u8,();
601(Slider)__receiver)
602 }
603 }
604 #[doc = "`ClampValue(f32)` overload"]
605 fn clamp_value(self, input: impl ::core::convert::Into<f32>) -> f32 {
606 unsafe {
607 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 ::unity::il2cpp_call!((::unity::module_base()+0x372f740usize)as*mut u8,f32;
609(Slider)__receiver,(f32)::core::convert::Into::into(input))
610 }
611 }
612 #[doc = "`Set(f32, bool)` overload"]
613 fn set(self, input: impl ::core::convert::Into<f32>, send_callback: impl ::core::convert::Into<bool>) -> () {
614 unsafe {
615 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
616 {
617 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
618 let __vi = *__vt.get(53usize).unwrap_or_else(|| {
619 panic!(
620 "unity: virtual slot {}
621 out of range (vtable len {}
622) on the runtime class behind {}
623 (method `{}
624`)",
625 53usize,
626 __vt.len(),
627 <Slider as ::unity::ClassIdentity>::NAME,
628 "Set",
629 )
630 });
631 let __inner: extern "C" fn(Slider, f32, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
632 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
633 __inner(
634 __receiver,
635 ::core::convert::Into::into(input),
636 ::core::convert::Into::into(send_callback),
637 __mi,
638 )
639 }
640 }
641 }
642 #[doc = "`OnRectTransformDimensionsChange()` overload"]
643 fn on_rect_transform_dimensions_change(self) -> () {
644 unsafe {
645 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
646 {
647 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
648 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
649 panic!(
650 "unity: virtual slot {}
651 out of range (vtable len {}
652) on the runtime class behind {}
653 (method `{}
654`)",
655 10usize,
656 __vt.len(),
657 <Slider as ::unity::ClassIdentity>::NAME,
658 "OnRectTransformDimensionsChange",
659 )
660 });
661 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
662 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
663 __inner(__receiver, __mi)
664 }
665 }
666 }
667 #[doc = "`get_axis()` overload"]
668 fn get_axis(self) -> crate::unity_engine::ui::slider::Slider_Axis {
669 unsafe {
670 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
671 ::unity::il2cpp_call!((::unity::module_base()+0x372f820usize)as*mut u8,crate::unity_engine::ui::slider::Slider_Axis;
672(Slider)__receiver)
673 }
674 }
675 #[doc = "`get_reverseValue()` overload"]
676 fn get_reverse_value(self) -> bool {
677 unsafe {
678 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
679 ::unity::il2cpp_call!((::unity::module_base()+0x372f800usize)as*mut u8,bool;
680(Slider)__receiver)
681 }
682 }
683 #[doc = "`UpdateVisuals()` overload"]
684 fn update_visuals(self) -> () {
685 unsafe {
686 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
687 ::unity::il2cpp_call!((::unity::module_base()+0x372e990usize)as*mut u8,();
688(Slider)__receiver)
689 }
690 }
691 #[doc = "`UpdateDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData, crate::unity_engine::camera::Camera)` overload"]
692 fn update_drag(
693 self,
694 event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>,
695 cam: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
696 ) -> () {
697 unsafe {
698 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
699 ::unity::il2cpp_call!((::unity::module_base()+0x372f9f0usize)as*mut u8,();
700(Slider)__receiver,(crate::unity_engine::event_systems::pointereventdata::PointerEventData)::core::convert::Into::into(event_data),(crate::unity_engine::camera::Camera)::core::convert::Into::into(cam))
701 }
702 }
703 #[doc = "`MayDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
704 fn may_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> bool {
705 unsafe {
706 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
707 ::unity::il2cpp_call!((::unity::module_base()+0x372fcc0usize)as*mut u8,bool;
708(Slider)__receiver,(crate::unity_engine::event_systems::pointereventdata::PointerEventData)::core::convert::Into::into(event_data))
709 }
710 }
711 #[doc = "`OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
712 fn on_pointer_down(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
713 unsafe {
714 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
715 {
716 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
717 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
718 panic!(
719 "unity: virtual slot {}
720 out of range (vtable len {}
721) on the runtime class behind {}
722 (method `{}
723`)",
724 32usize,
725 __vt.len(),
726 <Slider as ::unity::ClassIdentity>::NAME,
727 "OnPointerDown",
728 )
729 });
730 let __inner: extern "C" fn(
731 Slider,
732 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
733 ::unity::OptionalMethod,
734 ) -> () = ::core::mem::transmute(__vi.method_ptr);
735 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
736 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
737 }
738 }
739 }
740 #[doc = "`OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
741 fn on_drag(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>) -> () {
742 unsafe {
743 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
744 {
745 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
746 let __vi = *__vt.get(54usize).unwrap_or_else(|| {
747 panic!(
748 "unity: virtual slot {}
749 out of range (vtable len {}
750) on the runtime class behind {}
751 (method `{}
752`)",
753 54usize,
754 __vt.len(),
755 <Slider as ::unity::ClassIdentity>::NAME,
756 "OnDrag",
757 )
758 });
759 let __inner: extern "C" fn(
760 Slider,
761 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
762 ::unity::OptionalMethod,
763 ) -> () = ::core::mem::transmute(__vi.method_ptr);
764 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
765 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
766 }
767 }
768 }
769 #[doc = "`OnMove(crate::unity_engine::event_systems::axiseventdata::AxisEventData)` overload"]
770 fn on_move(self, event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::axiseventdata::AxisEventData>) -> () {
771 unsafe {
772 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
773 {
774 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
775 let __vi = *__vt.get(31usize).unwrap_or_else(|| {
776 panic!(
777 "unity: virtual slot {}
778 out of range (vtable len {}
779) on the runtime class behind {}
780 (method `{}
781`)",
782 31usize,
783 __vt.len(),
784 <Slider as ::unity::ClassIdentity>::NAME,
785 "OnMove",
786 )
787 });
788 let __inner: extern "C" fn(Slider, crate::unity_engine::event_systems::axiseventdata::AxisEventData, ::unity::OptionalMethod) -> () =
789 ::core::mem::transmute(__vi.method_ptr);
790 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
791 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
792 }
793 }
794 }
795 #[doc = "`FindSelectableOnLeft()` overload"]
796 fn find_selectable_on_left(self) -> crate::unity_engine::ui::selectable::Selectable {
797 unsafe {
798 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799 {
800 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
801 let __vi = *__vt.get(27usize).unwrap_or_else(|| {
802 panic!(
803 "unity: virtual slot {}
804 out of range (vtable len {}
805) on the runtime class behind {}
806 (method `{}
807`)",
808 27usize,
809 __vt.len(),
810 <Slider as ::unity::ClassIdentity>::NAME,
811 "FindSelectableOnLeft",
812 )
813 });
814 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
815 ::core::mem::transmute(__vi.method_ptr);
816 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
817 __inner(__receiver, __mi)
818 }
819 }
820 }
821 #[doc = "`FindSelectableOnRight()` overload"]
822 fn find_selectable_on_right(self) -> crate::unity_engine::ui::selectable::Selectable {
823 unsafe {
824 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
825 {
826 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
827 let __vi = *__vt.get(28usize).unwrap_or_else(|| {
828 panic!(
829 "unity: virtual slot {}
830 out of range (vtable len {}
831) on the runtime class behind {}
832 (method `{}
833`)",
834 28usize,
835 __vt.len(),
836 <Slider as ::unity::ClassIdentity>::NAME,
837 "FindSelectableOnRight",
838 )
839 });
840 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
841 ::core::mem::transmute(__vi.method_ptr);
842 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
843 __inner(__receiver, __mi)
844 }
845 }
846 }
847 #[doc = "`FindSelectableOnUp()` overload"]
848 fn find_selectable_on_up(self) -> crate::unity_engine::ui::selectable::Selectable {
849 unsafe {
850 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
851 {
852 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
853 let __vi = *__vt.get(29usize).unwrap_or_else(|| {
854 panic!(
855 "unity: virtual slot {}
856 out of range (vtable len {}
857) on the runtime class behind {}
858 (method `{}
859`)",
860 29usize,
861 __vt.len(),
862 <Slider as ::unity::ClassIdentity>::NAME,
863 "FindSelectableOnUp",
864 )
865 });
866 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
867 ::core::mem::transmute(__vi.method_ptr);
868 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
869 __inner(__receiver, __mi)
870 }
871 }
872 }
873 #[doc = "`FindSelectableOnDown()` overload"]
874 fn find_selectable_on_down(self) -> crate::unity_engine::ui::selectable::Selectable {
875 unsafe {
876 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
877 {
878 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
879 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
880 panic!(
881 "unity: virtual slot {}
882 out of range (vtable len {}
883) on the runtime class behind {}
884 (method `{}
885`)",
886 30usize,
887 __vt.len(),
888 <Slider as ::unity::ClassIdentity>::NAME,
889 "FindSelectableOnDown",
890 )
891 });
892 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
893 ::core::mem::transmute(__vi.method_ptr);
894 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
895 __inner(__receiver, __mi)
896 }
897 }
898 }
899 #[doc = "`OnInitializePotentialDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData)` overload"]
900 fn on_initialize_potential_drag(
901 self,
902 event_data: impl ::core::convert::Into<crate::unity_engine::event_systems::pointereventdata::PointerEventData>,
903 ) -> () {
904 unsafe {
905 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
906 {
907 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
908 let __vi = *__vt.get(55usize).unwrap_or_else(|| {
909 panic!(
910 "unity: virtual slot {}
911 out of range (vtable len {}
912) on the runtime class behind {}
913 (method `{}
914`)",
915 55usize,
916 __vt.len(),
917 <Slider as ::unity::ClassIdentity>::NAME,
918 "OnInitializePotentialDrag",
919 )
920 });
921 let __inner: extern "C" fn(
922 Slider,
923 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
924 ::unity::OptionalMethod,
925 ) -> () = ::core::mem::transmute(__vi.method_ptr);
926 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
927 __inner(__receiver, ::core::convert::Into::into(event_data), __mi)
928 }
929 }
930 }
931 #[doc = "`SetDirection(crate::unity_engine::ui::slider::Slider_Direction, bool)` overload"]
932 fn set_direction_2(
933 self,
934 direction: impl ::core::convert::Into<crate::unity_engine::ui::slider::Slider_Direction>,
935 include_rect_layouts: impl ::core::convert::Into<bool>,
936 ) -> () {
937 unsafe {
938 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
939 ::unity::il2cpp_call!((::unity::module_base()+0x3730450usize)as*mut u8,();
940(Slider)__receiver,(crate::unity_engine::ui::slider::Slider_Direction)::core::convert::Into::into(direction),(bool)::core::convert::Into::into(include_rect_layouts))
941 }
942 }
943 #[doc = "`UnityEngine.UI.ICanvasElement.get_transform()` overload"]
944 fn unity_engine_ui_i_canvas_element_get_transform(self) -> crate::unity_engine::transform::Transform {
945 unsafe {
946 let __receiver = <Slider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
947 {
948 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
949 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
950 panic!(
951 "unity: virtual slot {}
952 out of range (vtable len {}
953) on the runtime class behind {}
954 (method `{}
955`)",
956 42usize,
957 __vt.len(),
958 <Slider as ::unity::ClassIdentity>::NAME,
959 "UnityEngine.UI.ICanvasElement.get_transform",
960 )
961 });
962 let __inner: extern "C" fn(Slider, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
963 ::core::mem::transmute(__vi.method_ptr);
964 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
965 __inner(__receiver, __mi)
966 }
967 }
968 }
969}
970
971#[cfg(feature = "unity_engine-ui-slider")]
972impl<__T: ISlider> ISliderMethods for __T {}
973
974#[cfg(feature = "unity_engine-ui-slider")]
975impl Slider {
976 pub fn get_fill_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
977 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
978 }
979
980 pub fn set_fill_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
981 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
982 }
983
984 pub fn get_handle_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
985 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
986 }
987
988 pub fn set_handle_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
989 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
990 }
991
992 pub fn get_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
993 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
994 }
995
996 pub fn set_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
997 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
998 }
999
1000 pub fn get_min_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1001 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1002 }
1003
1004 pub fn set_min_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1005 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1006 }
1007
1008 pub fn get_max_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1009 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1010 }
1011
1012 pub fn set_max_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1013 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1014 }
1015
1016 pub fn get_whole_numbers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1017 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1018 }
1019
1020 pub fn set_whole_numbers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1021 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1022 }
1023
1024 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1025 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1026 }
1027
1028 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1029 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1030 }
1031
1032 pub fn set_value_without_notify_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1033 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1034 }
1035
1036 pub fn get_normalized_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1037 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1038 }
1039
1040 pub fn set_normalized_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1041 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1042 }
1043
1044 pub fn get_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1045 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1046 }
1047
1048 pub fn set_on_value_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1049 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1050 }
1051
1052 pub fn get_step_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1053 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1054 }
1055
1056 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1057 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1058 }
1059
1060 pub fn rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1061 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1062 }
1063
1064 pub fn layout_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1065 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1066 }
1067
1068 pub fn graphic_update_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1069 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1070 }
1071
1072 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1073 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1074 }
1075
1076 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1077 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1078 }
1079
1080 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1081 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1082 }
1083
1084 pub fn on_did_apply_animation_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1085 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1086 }
1087
1088 pub fn update_cached_references_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1089 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1090 }
1091
1092 pub fn clamp_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1093 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1094 }
1095
1096 pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1097 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1098 }
1099
1100 pub fn on_rect_transform_dimensions_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1102 }
1103
1104 pub fn get_axis_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1106 }
1107
1108 pub fn get_reverse_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1109 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1110 }
1111
1112 pub fn update_visuals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1113 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1114 }
1115
1116 pub fn update_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1117 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1118 }
1119
1120 pub fn may_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1121 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1122 }
1123
1124 pub fn on_pointer_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1125 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1126 }
1127
1128 pub fn on_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1130 }
1131
1132 pub fn on_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1134 }
1135
1136 pub fn find_selectable_on_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1138 }
1139
1140 pub fn find_selectable_on_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1142 }
1143
1144 pub fn find_selectable_on_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1146 }
1147
1148 pub fn find_selectable_on_down_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1150 }
1151
1152 pub fn on_initialize_potential_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1154 }
1155
1156 pub fn set_direction_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1157 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1158 }
1159
1160 pub fn unity_engine_ui_i_canvas_element_get_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1162 }
1163}
1164
1165#[cfg(feature = "unity_engine-ui-slider")]
1166impl Slider {
1167 #[doc = "Direct (non-virtual) call to `Slider`'s own `get_value`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1168 pub unsafe fn get_value(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
1169 let __mi = Self::get_value_method_info();
1170 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
1171 __inner(this.into(), ::core::option::Option::None)
1172 }
1173
1174 #[doc = "Direct (non-virtual) call to `Slider`'s own `set_value`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1175 pub unsafe fn set_value(this: impl ::core::convert::Into<::unity::IlInstance>, value: f32) -> () {
1176 let __mi = Self::set_value_method_info();
1177 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1178 __inner(this.into(), value, ::core::option::Option::None)
1179 }
1180
1181 #[doc = "Direct (non-virtual) call to `Slider`'s own `SetValueWithoutNotify`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1182 pub unsafe fn set_value_without_notify(this: impl ::core::convert::Into<::unity::IlInstance>, input: f32) -> () {
1183 let __mi = Self::set_value_without_notify_method_info();
1184 let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1185 __inner(this.into(), input, ::core::option::Option::None)
1186 }
1187
1188 #[doc = "Direct (non-virtual) call to `Slider`'s own `Rebuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1189 pub unsafe fn rebuild(
1190 this: impl ::core::convert::Into<::unity::IlInstance>,
1191 executing: crate::unity_engine::ui::canvasupdate::CanvasUpdate,
1192 ) -> () {
1193 let __mi = Self::rebuild_method_info();
1194 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
1195 ::core::mem::transmute(__mi.method_ptr);
1196 __inner(this.into(), executing, ::core::option::Option::None)
1197 }
1198
1199 #[doc = "Direct (non-virtual) call to `Slider`'s own `LayoutComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1200 pub unsafe fn layout_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1201 let __mi = Self::layout_complete_method_info();
1202 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1203 __inner(this.into(), ::core::option::Option::None)
1204 }
1205
1206 #[doc = "Direct (non-virtual) call to `Slider`'s own `GraphicUpdateComplete`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1207 pub unsafe fn graphic_update_complete(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1208 let __mi = Self::graphic_update_complete_method_info();
1209 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1210 __inner(this.into(), ::core::option::Option::None)
1211 }
1212
1213 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1214 pub unsafe fn on_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1215 let __mi = Self::on_enable_method_info();
1216 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1217 __inner(this.into(), ::core::option::Option::None)
1218 }
1219
1220 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1221 pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1222 let __mi = Self::on_disable_method_info();
1223 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1224 __inner(this.into(), ::core::option::Option::None)
1225 }
1226
1227 #[doc = "Direct (non-virtual) call to `Slider`'s own `Update`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1228 pub unsafe fn update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1229 let __mi = Self::update_method_info();
1230 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1231 __inner(this.into(), ::core::option::Option::None)
1232 }
1233
1234 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnDidApplyAnimationProperties`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1235 pub unsafe fn on_did_apply_animation_properties(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1236 let __mi = Self::on_did_apply_animation_properties_method_info();
1237 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1238 __inner(this.into(), ::core::option::Option::None)
1239 }
1240
1241 #[doc = "Direct (non-virtual) call to `Slider`'s own `Set`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1242 pub unsafe fn set(this: impl ::core::convert::Into<::unity::IlInstance>, input: f32, send_callback: bool) -> () {
1243 let __mi = Self::set_method_info();
1244 let __inner: extern "C" fn(::unity::IlInstance, f32, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1245 __inner(this.into(), input, send_callback, ::core::option::Option::None)
1246 }
1247
1248 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnRectTransformDimensionsChange`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1249 pub unsafe fn on_rect_transform_dimensions_change(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1250 let __mi = Self::on_rect_transform_dimensions_change_method_info();
1251 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1252 __inner(this.into(), ::core::option::Option::None)
1253 }
1254
1255 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnPointerDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1256 pub unsafe fn on_pointer_down(
1257 this: impl ::core::convert::Into<::unity::IlInstance>,
1258 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1259 ) -> () {
1260 let __mi = Self::on_pointer_down_method_info();
1261 let __inner: extern "C" fn(
1262 ::unity::IlInstance,
1263 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1264 ::unity::OptionalMethod,
1265 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1266 __inner(this.into(), event_data, ::core::option::Option::None)
1267 }
1268
1269 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1270 pub unsafe fn on_drag(
1271 this: impl ::core::convert::Into<::unity::IlInstance>,
1272 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1273 ) -> () {
1274 let __mi = Self::on_drag_method_info();
1275 let __inner: extern "C" fn(
1276 ::unity::IlInstance,
1277 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1278 ::unity::OptionalMethod,
1279 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1280 __inner(this.into(), event_data, ::core::option::Option::None)
1281 }
1282
1283 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnMove`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1284 pub unsafe fn on_move(
1285 this: impl ::core::convert::Into<::unity::IlInstance>,
1286 event_data: crate::unity_engine::event_systems::axiseventdata::AxisEventData,
1287 ) -> () {
1288 let __mi = Self::on_move_method_info();
1289 let __inner: extern "C" fn(
1290 ::unity::IlInstance,
1291 crate::unity_engine::event_systems::axiseventdata::AxisEventData,
1292 ::unity::OptionalMethod,
1293 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1294 __inner(this.into(), event_data, ::core::option::Option::None)
1295 }
1296
1297 #[doc = "Direct (non-virtual) call to `Slider`'s own `FindSelectableOnLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1298 pub unsafe fn find_selectable_on_left(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::ui::selectable::Selectable {
1299 let __mi = Self::find_selectable_on_left_method_info();
1300 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
1301 ::core::mem::transmute(__mi.method_ptr);
1302 __inner(this.into(), ::core::option::Option::None)
1303 }
1304
1305 #[doc = "Direct (non-virtual) call to `Slider`'s own `FindSelectableOnRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1306 pub unsafe fn find_selectable_on_right(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::ui::selectable::Selectable {
1307 let __mi = Self::find_selectable_on_right_method_info();
1308 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
1309 ::core::mem::transmute(__mi.method_ptr);
1310 __inner(this.into(), ::core::option::Option::None)
1311 }
1312
1313 #[doc = "Direct (non-virtual) call to `Slider`'s own `FindSelectableOnUp`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1314 pub unsafe fn find_selectable_on_up(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::ui::selectable::Selectable {
1315 let __mi = Self::find_selectable_on_up_method_info();
1316 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
1317 ::core::mem::transmute(__mi.method_ptr);
1318 __inner(this.into(), ::core::option::Option::None)
1319 }
1320
1321 #[doc = "Direct (non-virtual) call to `Slider`'s own `FindSelectableOnDown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1322 pub unsafe fn find_selectable_on_down(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::ui::selectable::Selectable {
1323 let __mi = Self::find_selectable_on_down_method_info();
1324 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::ui::selectable::Selectable =
1325 ::core::mem::transmute(__mi.method_ptr);
1326 __inner(this.into(), ::core::option::Option::None)
1327 }
1328
1329 #[doc = "Direct (non-virtual) call to `Slider`'s own `OnInitializePotentialDrag`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1330 pub unsafe fn on_initialize_potential_drag(
1331 this: impl ::core::convert::Into<::unity::IlInstance>,
1332 event_data: crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1333 ) -> () {
1334 let __mi = Self::on_initialize_potential_drag_method_info();
1335 let __inner: extern "C" fn(
1336 ::unity::IlInstance,
1337 crate::unity_engine::event_systems::pointereventdata::PointerEventData,
1338 ::unity::OptionalMethod,
1339 ) -> () = ::core::mem::transmute(__mi.method_ptr);
1340 __inner(this.into(), event_data, ::core::option::Option::None)
1341 }
1342
1343 #[doc = "Direct (non-virtual) call to `Slider`'s own `UnityEngine.UI.ICanvasElement.get_transform`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1344 pub unsafe fn unity_engine_ui_i_canvas_element_get_transform(
1345 this: impl ::core::convert::Into<::unity::IlInstance>,
1346 ) -> crate::unity_engine::transform::Transform {
1347 let __mi = Self::unity_engine_ui_i_canvas_element_get_transform_method_info();
1348 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::transform::Transform =
1349 ::core::mem::transmute(__mi.method_ptr);
1350 __inner(this.into(), ::core::option::Option::None)
1351 }
1352}
1353
1354#[cfg(feature = "unity_engine-ui-slider")]
1355impl Slider {
1356 #[doc = "`.ctor()` — no args"]
1357 pub fn new() -> Self {
1358 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1359 panic!(
1360 "{}
1361::{}
1362 failed to instantiate",
1363 ::core::stringify!(Slider),
1364 ::core::stringify!(new),
1365 )
1366 });
1367 <Self as ISliderMethods>::ctor(this);
1368 this
1369 }
1370}
1371
1372#[cfg(feature = "unity_engine-ui-slider")]
1373#[doc(hidden)]
1374pub mod prelude {
1375 pub use super::{
1376 ISlider, ISliderMethods, ISlider_SliderEvent, ISlider_SliderEventMethods, Slider, Slider_Axis, Slider_Direction, Slider_SliderEvent,
1377 };
1378 #[cfg(feature = "system-object")]
1379 pub use crate::system::object::IObjectMethods;
1380 #[cfg(feature = "system-enum")]
1381 pub use crate::system::r#enum::IEnumMethods;
1382 #[cfg(feature = "system-valuetype")]
1383 pub use crate::system::valuetype::IValueTypeMethods;
1384 #[cfg(feature = "unity_engine-behaviour")]
1385 pub use crate::unity_engine::behaviour::IBehaviourMethods;
1386 #[cfg(feature = "unity_engine-component")]
1387 pub use crate::unity_engine::component::IComponentMethods;
1388 #[cfg(feature = "unity_engine-event_systems-uibehaviour")]
1389 pub use crate::unity_engine::event_systems::uibehaviour::IUIBehaviourMethods;
1390 #[cfg(feature = "unity_engine-events-unityevent_1")]
1391 pub use crate::unity_engine::events::unityevent_1::IUnityEvent_1Methods;
1392 #[cfg(feature = "unity_engine-events-unityeventbase")]
1393 pub use crate::unity_engine::events::unityeventbase::IUnityEventBaseMethods;
1394 #[cfg(feature = "unity_engine-monobehaviour")]
1395 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
1396 #[cfg(feature = "unity_engine-object_2")]
1397 pub use crate::unity_engine::object_2::IObject_2Methods;
1398 #[cfg(feature = "unity_engine-ui-selectable")]
1399 pub use crate::unity_engine::ui::selectable::ISelectableMethods;
1400 pub use crate::{
1401 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1402 unity_engine::{
1403 behaviour::IBehaviour,
1404 component::IComponent,
1405 event_systems::uibehaviour::IUIBehaviour,
1406 events::{unityevent_1::IUnityEvent_1, unityeventbase::IUnityEventBase},
1407 monobehaviour::IMonoBehaviour,
1408 object_2::IObject_2,
1409 ui::selectable::ISelectable,
1410 },
1411 };
1412}