1#[cfg(feature = "unity_engine-gui-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 delegate::{Delegate, IDelegate},
10 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11 object::{IObject, Object},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/gui/GUI_Scope.md"))]
15 #[::unity::class(namespace = "UnityEngine", name = "GUI.Scope")]
16 #[parent(crate::system::object::Object)]
17 pub struct GUI_Scope {
18 #[offset(16)]
19 #[rename(name = "m_Disposed")]
20 pub m_disposed: bool,
21 }
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/gui/GUI_WindowFunction.md"))]
24 #[::unity::class(namespace = "UnityEngine", name = "GUI.WindowFunction")]
25 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
26 pub struct GUI_WindowFunction {}
27
28 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/gui/GUI.md"))]
29 #[::unity::class(namespace = "UnityEngine", name = "GUI")]
30 #[parent(crate::system::object::Object)]
31 pub struct GUI {
32 #[static_field]
33 #[rename(name = "s_ScrollControlId")]
34 pub s_scroll_control_id: i32,
35 #[static_field]
36 #[rename(name = "s_HotTextField")]
37 pub s_hot_text_field: i32,
38 #[static_field]
39 #[rename(name = "s_BoxHash")]
40 pub s_box_hash: i32,
41 #[static_field]
42 #[rename(name = "s_ButonHash")]
43 pub s_buton_hash: i32,
44 #[static_field]
45 #[rename(name = "s_RepeatButtonHash")]
46 pub s_repeat_button_hash: i32,
47 #[static_field]
48 #[rename(name = "s_ToggleHash")]
49 pub s_toggle_hash: i32,
50 #[static_field]
51 #[rename(name = "s_ButtonGridHash")]
52 pub s_button_grid_hash: i32,
53 #[static_field]
54 #[rename(name = "s_SliderHash")]
55 pub s_slider_hash: i32,
56 #[static_field]
57 #[rename(name = "s_BeginGroupHash")]
58 pub s_begin_group_hash: i32,
59 #[static_field]
60 #[rename(name = "s_ScrollviewHash")]
61 pub s_scrollview_hash: i32,
62 #[static_field]
63 #[rename(name = "s_Skin")]
64 pub s_skin: crate::unity_engine::guiskin::GUISkin,
65 #[static_field]
66 #[rename(name = "s_ToolTipRect")]
67 pub s_tool_tip_rect: crate::unity_engine::rect::Rect,
68 }
69}
70
71#[cfg(feature = "unity_engine-gui-types")]
72pub use __types::*;
73
74#[cfg(feature = "unity_engine-gui")]
75pub trait IGUI_ScopeMethods: IGUI_Scope {
76 #[doc = "`Dispose(bool)` overload"]
77 fn dispose(self, disposing: impl ::core::convert::Into<bool>) -> () {
78 unsafe {
79 let __receiver = <GUI_Scope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80 {
81 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
82 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
83 panic!(
84 "unity: virtual slot {}
85 out of range (vtable len {}
86) on the runtime class behind {}
87 (method `{}
88`)",
89 5usize,
90 __vt.len(),
91 <GUI_Scope as ::unity::ClassIdentity>::NAME,
92 "Dispose",
93 )
94 });
95 let __inner: extern "C" fn(GUI_Scope, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
96 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
97 __inner(__receiver, ::core::convert::Into::into(disposing), __mi)
98 }
99 }
100 }
101 #[doc = "`Finalize()` overload"]
102 fn finalize(self) -> () {
103 unsafe {
104 let __receiver = <GUI_Scope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 {
106 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
107 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
108 panic!(
109 "unity: virtual slot {}
110 out of range (vtable len {}
111) on the runtime class behind {}
112 (method `{}
113`)",
114 1usize,
115 __vt.len(),
116 <GUI_Scope as ::unity::ClassIdentity>::NAME,
117 "Finalize",
118 )
119 });
120 let __inner: extern "C" fn(GUI_Scope, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
121 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
122 __inner(__receiver, __mi)
123 }
124 }
125 }
126 #[doc = "`Dispose()` overload"]
127 fn dispose_2(self) -> () {
128 unsafe {
129 let __receiver = <GUI_Scope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 {
131 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
132 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
133 panic!(
134 "unity: virtual slot {}
135 out of range (vtable len {}
136) on the runtime class behind {}
137 (method `{}
138`)",
139 4usize,
140 __vt.len(),
141 <GUI_Scope as ::unity::ClassIdentity>::NAME,
142 "Dispose",
143 )
144 });
145 let __inner: extern "C" fn(GUI_Scope, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
146 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
147 __inner(__receiver, __mi)
148 }
149 }
150 }
151 #[doc = "`CloseScope()` overload"]
152 fn close_scope(self) -> () {
153 unsafe {
154 let __receiver = <GUI_Scope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 {
156 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
157 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
158 panic!(
159 "unity: virtual slot {}
160 out of range (vtable len {}
161) on the runtime class behind {}
162 (method `{}
163`)",
164 6usize,
165 __vt.len(),
166 <GUI_Scope as ::unity::ClassIdentity>::NAME,
167 "CloseScope",
168 )
169 });
170 let __inner: extern "C" fn(GUI_Scope, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
171 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
172 __inner(__receiver, __mi)
173 }
174 }
175 }
176 #[doc = "`.ctor()` overload"]
177 fn ctor(self) -> () {
178 unsafe {
179 let __receiver = <GUI_Scope as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
180 ::unity::il2cpp_call!((::unity::module_base()+0x3c53f60usize)as*mut u8,();
181(GUI_Scope)__receiver)
182 }
183 }
184}
185
186#[cfg(feature = "unity_engine-gui")]
187impl<__T: IGUI_Scope> IGUI_ScopeMethods for __T {}
188
189#[cfg(feature = "unity_engine-gui")]
190impl GUI_Scope {
191 pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
192 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
193 }
194
195 pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
196 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
197 }
198
199 pub fn dispose_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
200 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
201 }
202
203 pub fn close_scope_method_info() -> &'static ::unity::il2cpp::MethodInfo {
204 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
205 }
206
207 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
209 }
210}
211
212#[cfg(feature = "unity_engine-gui")]
213impl GUI_Scope {
214 #[doc = "Direct (non-virtual) call to `GUI_Scope`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
215 pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>, disposing: bool) -> () {
216 let __mi = Self::dispose_method_info();
217 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
218 __inner(this.into(), disposing, ::core::option::Option::None)
219 }
220
221 #[doc = "Direct (non-virtual) call to `GUI_Scope`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
222 pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
223 let __mi = Self::finalize_method_info();
224 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
225 __inner(this.into(), ::core::option::Option::None)
226 }
227
228 #[doc = "Direct (non-virtual) call to `GUI_Scope`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
229 pub unsafe fn dispose_2(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
230 let __mi = Self::dispose_2_method_info();
231 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
232 __inner(this.into(), ::core::option::Option::None)
233 }
234
235 #[doc = "Direct (non-virtual) call to `GUI_Scope`'s own `CloseScope`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
236 pub unsafe fn close_scope(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
237 let __mi = Self::close_scope_method_info();
238 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
239 __inner(this.into(), ::core::option::Option::None)
240 }
241}
242
243#[cfg(feature = "unity_engine-gui")]
244impl GUI_Scope {
245 #[doc = "`.ctor()` — no args"]
246 pub fn new() -> Self {
247 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
248 panic!(
249 "{}
250::{}
251 failed to instantiate",
252 ::core::stringify!(GUI_Scope),
253 ::core::stringify!(new),
254 )
255 });
256 <Self as IGUI_ScopeMethods>::ctor(this);
257 this
258 }
259}
260
261#[cfg(feature = "unity_engine-gui")]
262pub trait IGUI_WindowFunctionMethods: IGUI_WindowFunction {
263 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
264 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
265 unsafe {
266 let __receiver = <GUI_WindowFunction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 ::unity::il2cpp_call!((::unity::module_base()+0x3f3c450usize)as*mut u8,();
268(GUI_WindowFunction)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
269 }
270 }
271 #[doc = "`Invoke(i32)` overload"]
272 fn invoke(self, id: impl ::core::convert::Into<i32>) -> () {
273 unsafe {
274 let __receiver = <GUI_WindowFunction as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275 {
276 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
277 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
278 panic!(
279 "unity: virtual slot {}
280 out of range (vtable len {}
281) on the runtime class behind {}
282 (method `{}
283`)",
284 13usize,
285 __vt.len(),
286 <GUI_WindowFunction as ::unity::ClassIdentity>::NAME,
287 "Invoke",
288 )
289 });
290 let __inner: extern "C" fn(GUI_WindowFunction, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
291 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
292 __inner(__receiver, ::core::convert::Into::into(id), __mi)
293 }
294 }
295 }
296}
297
298#[cfg(feature = "unity_engine-gui")]
299impl<__T: IGUI_WindowFunction> IGUI_WindowFunctionMethods for __T {}
300
301#[cfg(feature = "unity_engine-gui")]
302impl GUI_WindowFunction {
303 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
305 }
306
307 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
309 }
310}
311
312#[cfg(feature = "unity_engine-gui")]
313impl GUI_WindowFunction {
314 #[doc = "Direct (non-virtual) call to `GUI_WindowFunction`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
315 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, id: i32) -> () {
316 let __mi = Self::invoke_method_info();
317 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
318 __inner(this.into(), id, ::core::option::Option::None)
319 }
320}
321
322#[cfg(feature = "unity_engine-gui")]
323impl GUI_WindowFunction {
324 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
325 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
326 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
327 panic!(
328 "{}
329::{}
330 failed to instantiate",
331 ::core::stringify!(GUI_WindowFunction),
332 ::core::stringify!(new),
333 )
334 });
335 <Self as IGUI_WindowFunctionMethods>::ctor(this, object, method);
336 this
337 }
338}
339
340#[cfg(feature = "unity_engine-gui")]
341impl GUI {
342 #[doc = "`get_color()` overload"]
343 pub fn get_color() -> crate::unity_engine::color::Color {
344 unsafe {
345 ::unity::il2cpp_call!((::unity::module_base()+0x3c39510usize)as*mut u8,crate::unity_engine::color::Color;
346 )
347 }
348 }
349
350 #[doc = "`set_color(crate::unity_engine::color::Color)` overload"]
351 pub fn set_color(value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
352 unsafe {
353 ::unity::il2cpp_call!((::unity::module_base()+0x3c39610usize)as*mut u8,();
354(crate::unity_engine::color::Color)::core::convert::Into::into(value))
355 }
356 }
357
358 #[doc = "`set_backgroundColor(crate::unity_engine::color::Color)` overload"]
359 pub fn set_background_color(value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
360 unsafe {
361 ::unity::il2cpp_call!((::unity::module_base()+0x3c39700usize)as*mut u8,();
362(crate::unity_engine::color::Color)::core::convert::Into::into(value))
363 }
364 }
365
366 #[doc = "`set_changed(bool)` overload"]
367 pub fn set_changed(value: impl ::core::convert::Into<bool>) -> () {
368 unsafe {
369 ::unity::il2cpp_call!((::unity::module_base()+0x3c397f0usize)as*mut u8,();
370(bool)::core::convert::Into::into(value))
371 }
372 }
373
374 #[doc = "`set_depth(i32)` overload"]
375 pub fn set_depth(value: impl ::core::convert::Into<i32>) -> () {
376 unsafe {
377 ::unity::il2cpp_call!((::unity::module_base()+0x3c39840usize)as*mut u8,();
378(i32)::core::convert::Into::into(value))
379 }
380 }
381
382 #[doc = "`get_usePageScrollbars()` overload"]
383 pub fn get_use_page_scrollbars() -> bool {
384 unsafe {
385 ::unity::il2cpp_call!((::unity::module_base()+0x3c39890usize)as*mut u8,bool;
386 )
387 }
388 }
389
390 #[doc = "`get_blendMaterial()` overload"]
391 pub fn get_blend_material() -> crate::unity_engine::material::Material {
392 unsafe {
393 ::unity::il2cpp_call!((::unity::module_base()+0x3c398d0usize)as*mut u8,crate::unity_engine::material::Material;
394 )
395 }
396 }
397
398 #[doc = "`get_blitMaterial()` overload"]
399 pub fn get_blit_material() -> crate::unity_engine::material::Material {
400 unsafe {
401 ::unity::il2cpp_call!((::unity::module_base()+0x3c39910usize)as*mut u8,crate::unity_engine::material::Material;
402 )
403 }
404 }
405
406 #[doc = "`get_roundedRectMaterial()` overload"]
407 pub fn get_rounded_rect_material() -> crate::unity_engine::material::Material {
408 unsafe {
409 ::unity::il2cpp_call!((::unity::module_base()+0x3c39950usize)as*mut u8,crate::unity_engine::material::Material;
410 )
411 }
412 }
413
414 #[doc = "`get_roundedRectWithColorPerBorderMaterial()` overload"]
415 pub fn get_rounded_rect_with_color_per_border_material() -> crate::unity_engine::material::Material {
416 unsafe {
417 ::unity::il2cpp_call!((::unity::module_base()+0x3c39990usize)as*mut u8,crate::unity_engine::material::Material;
418 )
419 }
420 }
421
422 #[doc = "`GrabMouseControl(i32)` overload"]
423 pub fn grab_mouse_control(id: impl ::core::convert::Into<i32>) -> () {
424 unsafe {
425 ::unity::il2cpp_call!((::unity::module_base()+0x3c399d0usize)as*mut u8,();
426(i32)::core::convert::Into::into(id))
427 }
428 }
429
430 #[doc = "`HasMouseControl(i32)` overload"]
431 pub fn has_mouse_control(id: impl ::core::convert::Into<i32>) -> bool {
432 unsafe {
433 ::unity::il2cpp_call!((::unity::module_base()+0x3c39a20usize)as*mut u8,bool;
434(i32)::core::convert::Into::into(id))
435 }
436 }
437
438 #[doc = "`ReleaseMouseControl()` overload"]
439 pub fn release_mouse_control() -> () {
440 unsafe {
441 ::unity::il2cpp_call!((::unity::module_base()+0x3c39a70usize)as*mut u8,();
442 )
443 }
444 }
445
446 #[doc = "`InternalRepaintEditorWindow()` overload"]
447 pub fn internal_repaint_editor_window() -> () {
448 unsafe {
449 ::unity::il2cpp_call!((::unity::module_base()+0x3c39ab0usize)as*mut u8,();
450 )
451 }
452 }
453
454 #[doc = "`Internal_DoWindow(i32, i32, crate::unity_engine::rect::Rect, crate::unity_engine::gui::GUI_WindowFunction, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle, crate::system::object::Object, bool)` overload"]
455 pub fn internal_do_window(
456 id: impl ::core::convert::Into<i32>,
457 instance_id: impl ::core::convert::Into<i32>,
458 client_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
459 func: impl ::core::convert::Into<crate::unity_engine::gui::GUI_WindowFunction>,
460 title: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
461 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
462 skin: impl ::core::convert::Into<crate::system::object::Object>,
463 force_rect_on_layout: impl ::core::convert::Into<bool>,
464 ) -> crate::unity_engine::rect::Rect {
465 unsafe {
466 ::unity::il2cpp_call!((::unity::module_base()+0x3c39af0usize)as*mut u8,crate::unity_engine::rect::Rect;
467(i32)::core::convert::Into::into(id),(i32)::core::convert::Into::into(instance_id),(crate::unity_engine::rect::Rect)::core::convert::Into::into(client_rect),(crate::unity_engine::gui::GUI_WindowFunction)::core::convert::Into::into(func),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(title),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style),(crate::system::object::Object)::core::convert::Into::into(skin),(bool)::core::convert::Into::into(force_rect_on_layout))
468 }
469 }
470
471 #[doc = "`.cctor()` overload"]
472 pub fn cctor() -> () {
473 unsafe {
474 ::unity::il2cpp_call!((::unity::module_base()+0x3c39ca0usize)as*mut u8,();
475 )
476 }
477 }
478
479 #[doc = "`get_scrollTroughSide()` overload"]
480 pub fn get_scroll_trough_side() -> i32 {
481 unsafe {
482 ::unity::il2cpp_call!((::unity::module_base()+0x3c39f60usize)as*mut u8,i32;
483 )
484 }
485 }
486
487 #[doc = "`set_scrollTroughSide(i32)` overload"]
488 pub fn set_scroll_trough_side(value: impl ::core::convert::Into<i32>) -> () {
489 unsafe {
490 ::unity::il2cpp_call!((::unity::module_base()+0x3c39fd0usize)as*mut u8,();
491(i32)::core::convert::Into::into(value))
492 }
493 }
494
495 #[doc = "`set_skin(crate::unity_engine::guiskin::GUISkin)` overload"]
496 pub fn set_skin(value: impl ::core::convert::Into<crate::unity_engine::guiskin::GUISkin>) -> () {
497 unsafe {
498 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a120usize)as*mut u8,();
499(crate::unity_engine::guiskin::GUISkin)::core::convert::Into::into(value))
500 }
501 }
502
503 #[doc = "`get_skin()` overload"]
504 pub fn get_skin() -> crate::unity_engine::guiskin::GUISkin {
505 unsafe {
506 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a380usize)as*mut u8,crate::unity_engine::guiskin::GUISkin;
507 )
508 }
509 }
510
511 #[doc = "`DoSetSkin(crate::unity_engine::guiskin::GUISkin)` overload"]
512 pub fn do_set_skin(new_skin: impl ::core::convert::Into<crate::unity_engine::guiskin::GUISkin>) -> () {
513 unsafe {
514 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a220usize)as*mut u8,();
515(crate::unity_engine::guiskin::GUISkin)::core::convert::Into::into(new_skin))
516 }
517 }
518
519 #[doc = "`set_matrix(crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
520 pub fn set_matrix(value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>) -> () {
521 unsafe {
522 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a590usize)as*mut u8,();
523(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
524 }
525 }
526
527 #[doc = "`Label(crate::unity_engine::rect::Rect, ::unity::Il2CppString, crate::unity_engine::guistyle::GUIStyle)` overload"]
528 pub fn label(
529 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
530 text: impl ::core::convert::Into<::unity::Il2CppString>,
531 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
532 ) -> () {
533 unsafe {
534 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a650usize)as*mut u8,();
535(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(::unity::Il2CppString)::core::convert::Into::into(text),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
536 }
537 }
538
539 #[doc = "`Label(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
540 pub fn label_2(
541 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
542 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
543 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
544 ) -> () {
545 unsafe {
546 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a840usize)as*mut u8,();
547(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
548 }
549 }
550
551 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture)` overload"]
552 pub fn draw_texture(
553 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
554 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
555 ) -> () {
556 unsafe {
557 ::unity::il2cpp_call!((::unity::module_base()+0x3c3acc0usize)as*mut u8,();
558(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image))
559 }
560 }
561
562 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode)` overload"]
563 pub fn draw_texture_2(
564 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
565 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
566 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
567 ) -> () {
568 unsafe {
569 ::unity::il2cpp_call!((::unity::module_base()+0x3c3ad60usize)as*mut u8,();
570(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode))
571 }
572 }
573
574 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool)` overload"]
575 pub fn draw_texture_3(
576 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
577 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
578 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
579 alpha_blend: impl ::core::convert::Into<bool>,
580 ) -> () {
581 unsafe {
582 ::unity::il2cpp_call!((::unity::module_base()+0x3c3ae50usize)as*mut u8,();
583(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend))
584 }
585 }
586
587 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32)` overload"]
588 pub fn draw_texture_4(
589 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
590 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
591 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
592 alpha_blend: impl ::core::convert::Into<bool>,
593 image_aspect: impl ::core::convert::Into<f32>,
594 ) -> () {
595 unsafe {
596 ::unity::il2cpp_call!((::unity::module_base()+0x3c3af10usize)as*mut u8,();
597(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect))
598 }
599 }
600
601 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32, crate::unity_engine::color::Color, f32, f32)` overload"]
602 pub fn draw_texture_5(
603 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
604 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
605 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
606 alpha_blend: impl ::core::convert::Into<bool>,
607 image_aspect: impl ::core::convert::Into<f32>,
608 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
609 border_width: impl ::core::convert::Into<f32>,
610 border_radius: impl ::core::convert::Into<f32>,
611 ) -> () {
612 unsafe {
613 ::unity::il2cpp_call!((::unity::module_base()+0x3c3b080usize)as*mut u8,();
614(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(f32)::core::convert::Into::into(border_width),(f32)::core::convert::Into::into(border_radius))
615 }
616 }
617
618 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32, crate::unity_engine::color::Color, crate::unity_engine::vector4::Vector4, f32)` overload"]
619 pub fn draw_texture_6(
620 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
621 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
622 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
623 alpha_blend: impl ::core::convert::Into<bool>,
624 image_aspect: impl ::core::convert::Into<f32>,
625 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
626 border_widths: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
627 border_radius: impl ::core::convert::Into<f32>,
628 ) -> () {
629 unsafe {
630 ::unity::il2cpp_call!((::unity::module_base()+0x3c3b1b0usize)as*mut u8,();
631(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_widths),(f32)::core::convert::Into::into(border_radius))
632 }
633 }
634
635 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32, crate::unity_engine::color::Color, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4)` overload"]
636 pub fn draw_texture_7(
637 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
638 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
639 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
640 alpha_blend: impl ::core::convert::Into<bool>,
641 image_aspect: impl ::core::convert::Into<f32>,
642 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
643 border_widths: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
644 border_radiuses: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
645 ) -> () {
646 unsafe {
647 ::unity::il2cpp_call!((::unity::module_base()+0x3c3b300usize)as*mut u8,();
648(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_widths),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_radiuses))
649 }
650 }
651
652 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32, crate::unity_engine::color::Color, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, bool)` overload"]
653 pub fn draw_texture_8(
654 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
655 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
656 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
657 alpha_blend: impl ::core::convert::Into<bool>,
658 image_aspect: impl ::core::convert::Into<f32>,
659 color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
660 border_widths: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
661 border_radiuses: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
662 draw_smooth_corners: impl ::core::convert::Into<bool>,
663 ) -> () {
664 unsafe {
665 ::unity::il2cpp_call!((::unity::module_base()+0x3c3b4a0usize)as*mut u8,();
666(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect),(crate::unity_engine::color::Color)::core::convert::Into::into(color),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_widths),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_radiuses),(bool)::core::convert::Into::into(draw_smooth_corners))
667 }
668 }
669
670 #[doc = "`DrawTexture(crate::unity_engine::rect::Rect, crate::unity_engine::texture::Texture, crate::unity_engine::scalemode::ScaleMode, bool, f32, crate::unity_engine::color::Color, crate::unity_engine::color::Color, crate::unity_engine::color::Color, crate::unity_engine::color::Color, crate::unity_engine::vector4::Vector4, crate::unity_engine::vector4::Vector4, bool)` overload"]
671 pub fn draw_texture_9(
672 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
673 image: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
674 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
675 alpha_blend: impl ::core::convert::Into<bool>,
676 image_aspect: impl ::core::convert::Into<f32>,
677 left_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
678 top_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
679 right_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
680 bottom_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
681 border_widths: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
682 border_radiuses: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
683 draw_smooth_corners: impl ::core::convert::Into<bool>,
684 ) -> () {
685 unsafe {
686 ::unity::il2cpp_call!((::unity::module_base()+0x3c3b630usize)as*mut u8,();
687(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::texture::Texture)::core::convert::Into::into(image),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(bool)::core::convert::Into::into(alpha_blend),(f32)::core::convert::Into::into(image_aspect),(crate::unity_engine::color::Color)::core::convert::Into::into(left_color),(crate::unity_engine::color::Color)::core::convert::Into::into(top_color),(crate::unity_engine::color::Color)::core::convert::Into::into(right_color),(crate::unity_engine::color::Color)::core::convert::Into::into(bottom_color),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_widths),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(border_radiuses),(bool)::core::convert::Into::into(draw_smooth_corners))
688 }
689 }
690
691 #[doc = "`CalculateScaledTextureRects(crate::unity_engine::rect::Rect, crate::unity_engine::scalemode::ScaleMode, f32, *mutcrate::unity_engine::rect::Rect, *mutcrate::unity_engine::rect::Rect)` overload"]
692 pub fn calculate_scaled_texture_rects(
693 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
694 scale_mode: impl ::core::convert::Into<crate::unity_engine::scalemode::ScaleMode>,
695 image_aspect: impl ::core::convert::Into<f32>,
696 ) -> (bool, crate::unity_engine::rect::Rect, crate::unity_engine::rect::Rect) {
697 unsafe {
698 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
699 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
700 let __ret = {
701 ::unity::il2cpp_call!((::unity::module_base()+0x3c3bda0usize)as*mut u8,bool;
702(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::scalemode::ScaleMode)::core::convert::Into::into(scale_mode),(f32)::core::convert::Into::into(image_aspect),(*mut crate::unity_engine::rect::Rect)__out_0.as_mut_ptr(),(*mut crate::unity_engine::rect::Rect)__out_1.as_mut_ptr())
703 };
704 (__ret, __out_0.assume_init(), __out_1.assume_init())
705 }
706 }
707
708 #[doc = "`Box(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
709 pub fn r#box(
710 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
711 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
712 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
713 ) -> () {
714 unsafe {
715 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c010usize)as*mut u8,();
716(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
717 }
718 }
719
720 #[doc = "`Button(crate::unity_engine::rect::Rect, ::unity::Il2CppString)` overload"]
721 pub fn button(
722 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
723 text: impl ::core::convert::Into<::unity::Il2CppString>,
724 ) -> bool {
725 unsafe {
726 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c470usize)as*mut u8,bool;
727(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(::unity::Il2CppString)::core::convert::Into::into(text))
728 }
729 }
730
731 #[doc = "`Button(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
732 pub fn button_2(
733 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
734 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
735 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
736 ) -> bool {
737 unsafe {
738 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c560usize)as*mut u8,bool;
739(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
740 }
741 }
742
743 #[doc = "`Button(crate::unity_engine::rect::Rect, i32, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
744 pub fn button_3(
745 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
746 id: impl ::core::convert::Into<i32>,
747 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
748 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
749 ) -> bool {
750 unsafe {
751 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c710usize)as*mut u8,bool;
752(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(i32)::core::convert::Into::into(id),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
753 }
754 }
755
756 #[doc = "`DoRepeatButton(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::focustype::FocusType)` overload"]
757 pub fn do_repeat_button(
758 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
759 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
760 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
761 focus_type: impl ::core::convert::Into<crate::unity_engine::focustype::FocusType>,
762 ) -> bool {
763 unsafe {
764 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c920usize)as*mut u8,bool;
765(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style),(crate::unity_engine::focustype::FocusType)::core::convert::Into::into(focus_type))
766 }
767 }
768
769 #[doc = "`DoControl(crate::unity_engine::rect::Rect, i32, bool, bool, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
770 pub fn do_control(
771 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
772 id: impl ::core::convert::Into<i32>,
773 on: impl ::core::convert::Into<bool>,
774 hover: impl ::core::convert::Into<bool>,
775 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
776 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
777 ) -> bool {
778 unsafe {
779 ::unity::il2cpp_call!((::unity::module_base()+0x3c3ce10usize)as*mut u8,bool;
780(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(i32)::core::convert::Into::into(id),(bool)::core::convert::Into::into(on),(bool)::core::convert::Into::into(hover),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
781 }
782 }
783
784 #[doc = "`DoLabel(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
785 pub fn do_label(
786 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
787 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
788 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
789 ) -> () {
790 unsafe {
791 ::unity::il2cpp_call!((::unity::module_base()+0x3c3a8f0usize)as*mut u8,();
792(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
793 }
794 }
795
796 #[doc = "`DoButton(crate::unity_engine::rect::Rect, i32, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
797 pub fn do_button(
798 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
799 id: impl ::core::convert::Into<i32>,
800 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
801 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
802 ) -> bool {
803 unsafe {
804 ::unity::il2cpp_call!((::unity::module_base()+0x3c3c7d0usize)as*mut u8,bool;
805(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(i32)::core::convert::Into::into(id),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
806 }
807 }
808
809 #[doc = "`HorizontalSlider(crate::unity_engine::rect::Rect, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle)` overload"]
810 pub fn horizontal_slider(
811 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
812 value: impl ::core::convert::Into<f32>,
813 left_value: impl ::core::convert::Into<f32>,
814 right_value: impl ::core::convert::Into<f32>,
815 slider: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
816 thumb: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
817 ) -> f32 {
818 unsafe {
819 ::unity::il2cpp_call!((::unity::module_base()+0x3c3d680usize)as*mut u8,f32;
820(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(left_value),(f32)::core::convert::Into::into(right_value),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(slider),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(thumb))
821 }
822 }
823
824 #[doc = "`Slider(crate::unity_engine::rect::Rect, f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle, bool, i32, crate::unity_engine::guistyle::GUIStyle)` overload"]
825 pub fn slider(
826 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
827 value: impl ::core::convert::Into<f32>,
828 size: impl ::core::convert::Into<f32>,
829 start: impl ::core::convert::Into<f32>,
830 end: impl ::core::convert::Into<f32>,
831 slider: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
832 thumb: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
833 horiz: impl ::core::convert::Into<bool>,
834 id: impl ::core::convert::Into<i32>,
835 thumb_extent: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
836 ) -> f32 {
837 unsafe {
838 ::unity::il2cpp_call!((::unity::module_base()+0x3c3d760usize)as*mut u8,f32;
839(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(size),(f32)::core::convert::Into::into(start),(f32)::core::convert::Into::into(end),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(slider),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(thumb),(bool)::core::convert::Into::into(horiz),(i32)::core::convert::Into::into(id),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(thumb_extent))
840 }
841 }
842
843 #[doc = "`HorizontalScrollbar(crate::unity_engine::rect::Rect, f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle)` overload"]
844 pub fn horizontal_scrollbar(
845 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
846 value: impl ::core::convert::Into<f32>,
847 size: impl ::core::convert::Into<f32>,
848 left_value: impl ::core::convert::Into<f32>,
849 right_value: impl ::core::convert::Into<f32>,
850 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
851 ) -> f32 {
852 unsafe {
853 ::unity::il2cpp_call!((::unity::module_base()+0x3c3db50usize)as*mut u8,f32;
854(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(size),(f32)::core::convert::Into::into(left_value),(f32)::core::convert::Into::into(right_value),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
855 }
856 }
857
858 #[doc = "`ScrollerRepeatButton(i32, crate::unity_engine::rect::Rect, crate::unity_engine::guistyle::GUIStyle)` overload"]
859 pub fn scroller_repeat_button(
860 scroller_id: impl ::core::convert::Into<i32>,
861 rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
862 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
863 ) -> bool {
864 unsafe {
865 ::unity::il2cpp_call!((::unity::module_base()+0x3c3e970usize)as*mut u8,bool;
866(i32)::core::convert::Into::into(scroller_id),(crate::unity_engine::rect::Rect)::core::convert::Into::into(rect),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
867 }
868 }
869
870 #[doc = "`VerticalScrollbar(crate::unity_engine::rect::Rect, f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle)` overload"]
871 pub fn vertical_scrollbar(
872 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
873 value: impl ::core::convert::Into<f32>,
874 size: impl ::core::convert::Into<f32>,
875 top_value: impl ::core::convert::Into<f32>,
876 bottom_value: impl ::core::convert::Into<f32>,
877 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
878 ) -> f32 {
879 unsafe {
880 ::unity::il2cpp_call!((::unity::module_base()+0x3c3ece0usize)as*mut u8,f32;
881(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(size),(f32)::core::convert::Into::into(top_value),(f32)::core::convert::Into::into(bottom_value),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
882 }
883 }
884
885 #[doc = "`Scroller(crate::unity_engine::rect::Rect, f32, f32, f32, f32, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle, bool)` overload"]
886 pub fn scroller(
887 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
888 value: impl ::core::convert::Into<f32>,
889 size: impl ::core::convert::Into<f32>,
890 left_value: impl ::core::convert::Into<f32>,
891 right_value: impl ::core::convert::Into<f32>,
892 slider: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
893 thumb: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
894 left_button: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
895 right_button: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
896 horiz: impl ::core::convert::Into<bool>,
897 ) -> f32 {
898 unsafe {
899 ::unity::il2cpp_call!((::unity::module_base()+0x3c3e2b0usize)as*mut u8,f32;
900(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(size),(f32)::core::convert::Into::into(left_value),(f32)::core::convert::Into::into(right_value),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(slider),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(thumb),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(left_button),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(right_button),(bool)::core::convert::Into::into(horiz))
901 }
902 }
903
904 #[doc = "`BeginGroup(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
905 pub fn begin_group(
906 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
907 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
908 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
909 ) -> () {
910 unsafe {
911 ::unity::il2cpp_call!((::unity::module_base()+0x3c3f0b0usize)as*mut u8,();
912(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
913 }
914 }
915
916 #[doc = "`BeginGroup(crate::unity_engine::rect::Rect, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::vector2::Vector2)` overload"]
917 pub fn begin_group_2(
918 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
919 content: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
920 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
921 scroll_offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
922 ) -> () {
923 unsafe {
924 ::unity::il2cpp_call!((::unity::module_base()+0x3c3f170usize)as*mut u8,();
925(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(content),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(scroll_offset))
926 }
927 }
928
929 #[doc = "`EndGroup()` overload"]
930 pub fn end_group() -> () {
931 unsafe {
932 ::unity::il2cpp_call!((::unity::module_base()+0x3c3f7c0usize)as*mut u8,();
933 )
934 }
935 }
936
937 #[doc = "`BeginClip(crate::unity_engine::rect::Rect)` overload"]
938 pub fn begin_clip(position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> () {
939 unsafe {
940 ::unity::il2cpp_call!((::unity::module_base()+0x3c3f850usize)as*mut u8,();
941(crate::unity_engine::rect::Rect)::core::convert::Into::into(position))
942 }
943 }
944
945 #[doc = "`EndClip()` overload"]
946 pub fn end_clip() -> () {
947 unsafe {
948 ::unity::il2cpp_call!((::unity::module_base()+0x3c3f900usize)as*mut u8,();
949 )
950 }
951 }
952
953 #[doc = "`BeginScrollView(crate::unity_engine::rect::Rect, crate::unity_engine::vector2::Vector2, crate::unity_engine::rect::Rect, bool, bool, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guistyle::GUIStyle)` overload"]
954 pub fn begin_scroll_view(
955 position: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
956 scroll_position: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
957 view_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
958 always_show_horizontal: impl ::core::convert::Into<bool>,
959 always_show_vertical: impl ::core::convert::Into<bool>,
960 horizontal_scrollbar: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
961 vertical_scrollbar: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
962 background: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
963 ) -> crate::unity_engine::vector2::Vector2 {
964 unsafe {
965 ::unity::il2cpp_call!((::unity::module_base()+0x3c3fa00usize)as*mut u8,crate::unity_engine::vector2::Vector2;
966(crate::unity_engine::rect::Rect)::core::convert::Into::into(position),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(scroll_position),(crate::unity_engine::rect::Rect)::core::convert::Into::into(view_rect),(bool)::core::convert::Into::into(always_show_horizontal),(bool)::core::convert::Into::into(always_show_vertical),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(horizontal_scrollbar),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(vertical_scrollbar),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(background))
967 }
968 }
969
970 #[doc = "`EndScrollView(bool)` overload"]
971 pub fn end_scroll_view(handle_scroll_wheel: impl ::core::convert::Into<bool>) -> () {
972 unsafe {
973 ::unity::il2cpp_call!((::unity::module_base()+0x3c41170usize)as*mut u8,();
974(bool)::core::convert::Into::into(handle_scroll_wheel))
975 }
976 }
977
978 #[doc = "`Window(i32, crate::unity_engine::rect::Rect, crate::unity_engine::gui::GUI_WindowFunction, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle)` overload"]
979 pub fn window(
980 id: impl ::core::convert::Into<i32>,
981 client_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
982 func: impl ::core::convert::Into<crate::unity_engine::gui::GUI_WindowFunction>,
983 title: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
984 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
985 ) -> crate::unity_engine::rect::Rect {
986 unsafe {
987 ::unity::il2cpp_call!((::unity::module_base()+0x3c420f0usize)as*mut u8,crate::unity_engine::rect::Rect;
988(i32)::core::convert::Into::into(id),(crate::unity_engine::rect::Rect)::core::convert::Into::into(client_rect),(crate::unity_engine::gui::GUI_WindowFunction)::core::convert::Into::into(func),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(title),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
989 }
990 }
991
992 #[doc = "`DoWindow(i32, crate::unity_engine::rect::Rect, crate::unity_engine::gui::GUI_WindowFunction, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle, crate::unity_engine::guiskin::GUISkin, bool)` overload"]
993 pub fn do_window(
994 id: impl ::core::convert::Into<i32>,
995 client_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>,
996 func: impl ::core::convert::Into<crate::unity_engine::gui::GUI_WindowFunction>,
997 title: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
998 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
999 skin: impl ::core::convert::Into<crate::unity_engine::guiskin::GUISkin>,
1000 force_rect_on_layout: impl ::core::convert::Into<bool>,
1001 ) -> crate::unity_engine::rect::Rect {
1002 unsafe {
1003 ::unity::il2cpp_call!((::unity::module_base()+0x3c42270usize)as*mut u8,crate::unity_engine::rect::Rect;
1004(i32)::core::convert::Into::into(id),(crate::unity_engine::rect::Rect)::core::convert::Into::into(client_rect),(crate::unity_engine::gui::GUI_WindowFunction)::core::convert::Into::into(func),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(title),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style),(crate::unity_engine::guiskin::GUISkin)::core::convert::Into::into(skin),(bool)::core::convert::Into::into(force_rect_on_layout))
1005 }
1006 }
1007
1008 #[doc = "`CallWindowDelegate(crate::unity_engine::gui::GUI_WindowFunction, i32, i32, crate::unity_engine::guiskin::GUISkin, i32, f32, f32, crate::unity_engine::guistyle::GUIStyle)` overload"]
1009 pub fn call_window_delegate(
1010 func: impl ::core::convert::Into<crate::unity_engine::gui::GUI_WindowFunction>,
1011 id: impl ::core::convert::Into<i32>,
1012 instance_id: impl ::core::convert::Into<i32>,
1013 skin: impl ::core::convert::Into<crate::unity_engine::guiskin::GUISkin>,
1014 force_rect: impl ::core::convert::Into<i32>,
1015 width: impl ::core::convert::Into<f32>,
1016 height: impl ::core::convert::Into<f32>,
1017 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
1018 ) -> () {
1019 unsafe {
1020 ::unity::il2cpp_call!((::unity::module_base()+0x3c42370usize)as*mut u8,();
1021(crate::unity_engine::gui::GUI_WindowFunction)::core::convert::Into::into(func),(i32)::core::convert::Into::into(id),(i32)::core::convert::Into::into(instance_id),(crate::unity_engine::guiskin::GUISkin)::core::convert::Into::into(skin),(i32)::core::convert::Into::into(force_rect),(f32)::core::convert::Into::into(width),(f32)::core::convert::Into::into(height),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style))
1022 }
1023 }
1024
1025 #[doc = "`get_color_Injected(*mutcrate::unity_engine::color::Color)` overload"]
1026 pub fn get_color_injected() -> crate::unity_engine::color::Color {
1027 unsafe {
1028 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1029 ::unity::il2cpp_call!((::unity::module_base()+0x3c395c0usize)as*mut u8,();
1030(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1031 __out_0.assume_init()
1032 }
1033 }
1034
1035 #[doc = "`set_color_Injected(*mutcrate::unity_engine::color::Color)` overload"]
1036 pub fn set_color_injected() -> crate::unity_engine::color::Color {
1037 unsafe {
1038 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1039 ::unity::il2cpp_call!((::unity::module_base()+0x3c396b0usize)as*mut u8,();
1040(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1041 __out_0.assume_init()
1042 }
1043 }
1044
1045 #[doc = "`set_backgroundColor_Injected(*mutcrate::unity_engine::color::Color)` overload"]
1046 pub fn set_background_color_injected() -> crate::unity_engine::color::Color {
1047 unsafe {
1048 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1049 ::unity::il2cpp_call!((::unity::module_base()+0x3c397a0usize)as*mut u8,();
1050(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1051 __out_0.assume_init()
1052 }
1053 }
1054
1055 #[doc = "`Internal_DoWindow_Injected(i32, i32, *mutcrate::unity_engine::rect::Rect, crate::unity_engine::gui::GUI_WindowFunction, crate::unity_engine::guicontent::GUIContent, crate::unity_engine::guistyle::GUIStyle, crate::system::object::Object, bool, *mutcrate::unity_engine::rect::Rect)` overload"]
1056 pub fn internal_do_window_injected(
1057 id: impl ::core::convert::Into<i32>,
1058 instance_id: impl ::core::convert::Into<i32>,
1059 func: impl ::core::convert::Into<crate::unity_engine::gui::GUI_WindowFunction>,
1060 title: impl ::core::convert::Into<crate::unity_engine::guicontent::GUIContent>,
1061 style: impl ::core::convert::Into<crate::unity_engine::guistyle::GUIStyle>,
1062 skin: impl ::core::convert::Into<crate::system::object::Object>,
1063 force_rect_on_layout: impl ::core::convert::Into<bool>,
1064 ) -> (crate::unity_engine::rect::Rect, crate::unity_engine::rect::Rect) {
1065 unsafe {
1066 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
1067 let mut __out_1 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
1068 ::unity::il2cpp_call!((::unity::module_base()+0x3c39c00usize)as*mut u8,();
1069(i32)::core::convert::Into::into(id),(i32)::core::convert::Into::into(instance_id),(*mut crate::unity_engine::rect::Rect)__out_0.as_mut_ptr(),(crate::unity_engine::gui::GUI_WindowFunction)::core::convert::Into::into(func),(crate::unity_engine::guicontent::GUIContent)::core::convert::Into::into(title),(crate::unity_engine::guistyle::GUIStyle)::core::convert::Into::into(style),(crate::system::object::Object)::core::convert::Into::into(skin),(bool)::core::convert::Into::into(force_rect_on_layout),(*mut crate::unity_engine::rect::Rect)__out_1.as_mut_ptr());
1070 (__out_0.assume_init(), __out_1.assume_init())
1071 }
1072 }
1073}
1074
1075#[cfg(feature = "unity_engine-gui")]
1076pub trait IGUIMethods: IGUI {
1077 #[doc = "`.ctor()` overload"]
1078 fn ctor(self) -> () {
1079 unsafe {
1080 let __receiver = <GUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1081 ::unity::il2cpp_call!((::unity::module_base()+0x3c430c0usize)as*mut u8,();
1082(GUI)__receiver)
1083 }
1084 }
1085}
1086
1087#[cfg(feature = "unity_engine-gui")]
1088impl<__T: IGUI> IGUIMethods for __T {}
1089
1090#[cfg(feature = "unity_engine-gui")]
1091impl GUI {
1092 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1093 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1094 }
1095
1096 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1097 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1098 }
1099
1100 pub fn set_background_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1101 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1102 }
1103
1104 pub fn set_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1105 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1106 }
1107
1108 pub fn set_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1109 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1110 }
1111
1112 pub fn get_use_page_scrollbars_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1113 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1114 }
1115
1116 pub fn get_blend_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1117 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1118 }
1119
1120 pub fn get_blit_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1121 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1122 }
1123
1124 pub fn get_rounded_rect_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1125 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1126 }
1127
1128 pub fn get_rounded_rect_with_color_per_border_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1129 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1130 }
1131
1132 pub fn grab_mouse_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1133 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1134 }
1135
1136 pub fn has_mouse_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1137 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1138 }
1139
1140 pub fn release_mouse_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1142 }
1143
1144 pub fn internal_repaint_editor_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1146 }
1147
1148 pub fn internal_do_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1150 }
1151
1152 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1154 }
1155
1156 pub fn get_scroll_trough_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1157 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1158 }
1159
1160 pub fn set_scroll_trough_side_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1162 }
1163
1164 pub fn set_skin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1165 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1166 }
1167
1168 pub fn get_skin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1170 }
1171
1172 pub fn do_set_skin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1173 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1174 }
1175
1176 pub fn set_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1178 }
1179
1180 pub fn label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1181 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1182 }
1183
1184 pub fn label_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1185 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1186 }
1187
1188 pub fn draw_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1190 }
1191
1192 pub fn draw_texture_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1193 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1194 }
1195
1196 pub fn draw_texture_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1197 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1198 }
1199
1200 pub fn draw_texture_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1202 }
1203
1204 pub fn draw_texture_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1205 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1206 }
1207
1208 pub fn draw_texture_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1209 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1210 }
1211
1212 pub fn draw_texture_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1213 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1214 }
1215
1216 pub fn draw_texture_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1217 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1218 }
1219
1220 pub fn draw_texture_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1221 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1222 }
1223
1224 pub fn calculate_scaled_texture_rects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1225 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1226 }
1227
1228 pub fn box_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1229 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1230 }
1231
1232 pub fn button_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1233 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1234 }
1235
1236 pub fn button_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1237 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1238 }
1239
1240 pub fn button_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1242 }
1243
1244 pub fn do_repeat_button_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1246 }
1247
1248 pub fn do_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1250 }
1251
1252 pub fn do_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1254 }
1255
1256 pub fn do_button_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1258 }
1259
1260 pub fn horizontal_slider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1262 }
1263
1264 pub fn slider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1266 }
1267
1268 pub fn horizontal_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1270 }
1271
1272 pub fn scroller_repeat_button_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1274 }
1275
1276 pub fn vertical_scrollbar_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1277 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1278 }
1279
1280 pub fn scroller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1281 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1282 }
1283
1284 pub fn begin_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1285 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1286 }
1287
1288 pub fn begin_group_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1289 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1290 }
1291
1292 pub fn end_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1294 }
1295
1296 pub fn begin_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1298 }
1299
1300 pub fn end_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1302 }
1303
1304 pub fn begin_scroll_view_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1306 }
1307
1308 pub fn end_scroll_view_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1309 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1310 }
1311
1312 pub fn window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1314 }
1315
1316 pub fn do_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1318 }
1319
1320 pub fn call_window_delegate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1322 }
1323
1324 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1326 }
1327
1328 pub fn get_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1330 }
1331
1332 pub fn set_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1334 }
1335
1336 pub fn set_background_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1338 }
1339
1340 pub fn internal_do_window_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1342 }
1343}
1344
1345#[cfg(feature = "unity_engine-gui")]
1346impl GUI {
1347 #[doc = "`.ctor()` — no args"]
1348 pub fn new() -> Self {
1349 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1350 panic!(
1351 "{}
1352::{}
1353 failed to instantiate",
1354 ::core::stringify!(GUI),
1355 ::core::stringify!(new),
1356 )
1357 });
1358 <Self as IGUIMethods>::ctor(this);
1359 this
1360 }
1361}
1362
1363#[cfg(feature = "unity_engine-gui")]
1364#[doc(hidden)]
1365pub mod prelude {
1366 pub use super::{
1367 GUI_Scope, GUI_WindowFunction, IGUIMethods, IGUI_Scope, IGUI_ScopeMethods, IGUI_WindowFunction, IGUI_WindowFunctionMethods, GUI, IGUI,
1368 };
1369 #[cfg(feature = "system-delegate")]
1370 pub use crate::system::delegate::IDelegateMethods;
1371 #[cfg(feature = "system-multicastdelegate")]
1372 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1373 #[cfg(feature = "system-object")]
1374 pub use crate::system::object::IObjectMethods;
1375 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject};
1376}