Skip to main content

engage/generated/tm_pro/
textmeshprougui.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-textmeshprougui-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        tm_pro::tmp_text::{ITMP_Text, TMP_Text},
11        unity_engine::{
12            behaviour::{Behaviour, IBehaviour},
13            component::{Component, IComponent},
14            event_systems::uibehaviour::{IUIBehaviour, UIBehaviour},
15            monobehaviour::{IMonoBehaviour, MonoBehaviour},
16            object_2::{IObject_2, Object_2},
17            ui::{
18                graphic::{Graphic, IGraphic},
19                maskablegraphic::{IMaskableGraphic, MaskableGraphic},
20            },
21        },
22    };
23
24    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/textmeshprougui/TextMeshProUGUI.md"))]
25    #[::unity::class(namespace = "TMPro", name = "TextMeshProUGUI")]
26    #[parent(crate::tm_pro::tmp_text::TMP_Text)]
27    pub struct TextMeshProUGUI {
28        #[offset(1728)]
29        #[rename(name = "m_hasFontAssetChanged")]
30        pub m_has_font_asset_changed: bool,
31        #[offset(1736)]
32        #[rename(name = "m_subTextObjects")]
33        pub m_sub_text_objects: ::unity::Array<crate::tm_pro::tmp_submeshui::TMP_SubMeshUI>,
34        #[offset(1744)]
35        #[rename(name = "m_previousLossyScaleY")]
36        pub m_previous_lossy_scale_y: f32,
37        #[offset(1752)]
38        #[rename(name = "m_RectTransformCorners")]
39        pub m_rect_transform_corners: ::unity::Array<crate::unity_engine::vector3::Vector3>,
40        #[offset(1760)]
41        #[rename(name = "m_canvasRenderer")]
42        pub m_canvas_renderer: crate::unity_engine::canvasrenderer::CanvasRenderer,
43        #[offset(1768)]
44        #[rename(name = "m_canvas")]
45        pub m_canvas: crate::unity_engine::canvas::Canvas,
46        #[offset(1776)]
47        #[rename(name = "m_CanvasScaleFactor")]
48        pub m_canvas_scale_factor: f32,
49        #[offset(1780)]
50        #[rename(name = "m_isFirstAllocation")]
51        pub m_is_first_allocation: bool,
52        #[offset(1784)]
53        #[rename(name = "m_max_characters")]
54        pub m_max_characters: i32,
55        #[offset(1792)]
56        #[rename(name = "m_baseMaterial")]
57        pub m_base_material: crate::unity_engine::material::Material,
58        #[offset(1800)]
59        #[rename(name = "m_isScrollRegionSet")]
60        pub m_is_scroll_region_set: bool,
61        #[offset(1804)]
62        #[rename(name = "m_maskOffset")]
63        pub m_mask_offset: crate::unity_engine::vector4::Vector4,
64        #[offset(1820)]
65        #[rename(name = "m_EnvMapMatrix")]
66        pub m_env_map_matrix: crate::unity_engine::matrix4x4::Matrix4x4,
67        #[offset(1884)]
68        #[rename(name = "m_isRegisteredForEvents")]
69        pub m_is_registered_for_events: bool,
70        #[offset(1885)]
71        #[rename(name = "m_isRebuildingLayout")]
72        pub m_is_rebuilding_layout: bool,
73        #[offset(1888)]
74        #[rename(name = "m_DelayedGraphicRebuild")]
75        pub m_delayed_graphic_rebuild: crate::unity_engine::coroutine::Coroutine,
76        #[offset(1896)]
77        #[rename(name = "m_DelayedMaterialRebuild")]
78        pub m_delayed_material_rebuild: crate::unity_engine::coroutine::Coroutine,
79        #[offset(1904)]
80        #[rename(name = "m_ClipRect")]
81        pub m_clip_rect: crate::unity_engine::rect::Rect,
82        #[offset(1920)]
83        #[rename(name = "m_ValidRect")]
84        pub m_valid_rect: bool,
85        #[offset(1928)]
86        #[rename(name = "OnPreRenderText")]
87        pub on_pre_render_text: crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
88    }
89}
90
91#[cfg(feature = "tm_pro-textmeshprougui-types")]
92pub use __types::*;
93
94#[cfg(feature = "tm_pro-textmeshprougui")]
95impl TextMeshProUGUI {
96    #[doc = "`.cctor()` overload"]
97    pub fn cctor() -> () {
98        unsafe {
99            ::unity::il2cpp_call!((::unity::module_base()+0x3586ab0usize)as*mut u8,();
100            )
101        }
102    }
103}
104
105#[cfg(feature = "tm_pro-textmeshprougui")]
106pub trait ITextMeshProUGUIMethods: ITextMeshProUGUI {
107    #[doc = "`Awake()` overload"]
108    fn awake(self) -> () {
109        unsafe {
110            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            {
112                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
113                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
114                    panic!(
115                        "unity: virtual slot {}
116 out of range (vtable len {}
117) on the runtime class behind {}
118 (method `{}
119`)",
120                        4usize,
121                        __vt.len(),
122                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
123                        "Awake",
124                    )
125                });
126                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
127                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
128                __inner(__receiver, __mi)
129            }
130        }
131    }
132    #[doc = "`OnEnable()` overload"]
133    fn on_enable(self) -> () {
134        unsafe {
135            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            {
137                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
138                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
139                    panic!(
140                        "unity: virtual slot {}
141 out of range (vtable len {}
142) on the runtime class behind {}
143 (method `{}
144`)",
145                        5usize,
146                        __vt.len(),
147                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
148                        "OnEnable",
149                    )
150                });
151                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
152                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
153                __inner(__receiver, __mi)
154            }
155        }
156    }
157    #[doc = "`OnDisable()` overload"]
158    fn on_disable(self) -> () {
159        unsafe {
160            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            {
162                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
163                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
164                    panic!(
165                        "unity: virtual slot {}
166 out of range (vtable len {}
167) on the runtime class behind {}
168 (method `{}
169`)",
170                        7usize,
171                        __vt.len(),
172                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
173                        "OnDisable",
174                    )
175                });
176                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
177                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
178                __inner(__receiver, __mi)
179            }
180        }
181    }
182    #[doc = "`OnDestroy()` overload"]
183    fn on_destroy(self) -> () {
184        unsafe {
185            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            {
187                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
188                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
189                    panic!(
190                        "unity: virtual slot {}
191 out of range (vtable len {}
192) on the runtime class behind {}
193 (method `{}
194`)",
195                        8usize,
196                        __vt.len(),
197                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
198                        "OnDestroy",
199                    )
200                });
201                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
202                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
203                __inner(__receiver, __mi)
204            }
205        }
206    }
207    #[doc = "`LoadFontAsset()` overload"]
208    fn load_font_asset(self) -> () {
209        unsafe {
210            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211            {
212                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
213                let __vi = *__vt.get(89usize).unwrap_or_else(|| {
214                    panic!(
215                        "unity: virtual slot {}
216 out of range (vtable len {}
217) on the runtime class behind {}
218 (method `{}
219`)",
220                        89usize,
221                        __vt.len(),
222                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
223                        "LoadFontAsset",
224                    )
225                });
226                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
227                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
228                __inner(__receiver, __mi)
229            }
230        }
231    }
232    #[doc = "`GetCanvas()` overload"]
233    fn get_canvas(self) -> crate::unity_engine::canvas::Canvas {
234        unsafe {
235            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236            ::unity::il2cpp_call!((::unity::module_base()+0x3577240usize)as*mut u8,crate::unity_engine::canvas::Canvas;
237(TextMeshProUGUI)__receiver)
238        }
239    }
240    #[doc = "`UpdateEnvMapMatrix()` overload"]
241    fn update_env_map_matrix(self) -> () {
242        unsafe {
243            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244            ::unity::il2cpp_call!((::unity::module_base()+0x3577e10usize)as*mut u8,();
245(TextMeshProUGUI)__receiver)
246        }
247    }
248    #[doc = "`EnableMasking()` overload"]
249    fn enable_masking(self) -> () {
250        unsafe {
251            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252            ::unity::il2cpp_call!((::unity::module_base()+0x3578070usize)as*mut u8,();
253(TextMeshProUGUI)__receiver)
254        }
255    }
256    #[doc = "`DisableMasking()` overload"]
257    fn disable_masking(self) -> () {
258        unsafe {
259            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260            ::unity::il2cpp_call!((::unity::module_base()+0x3578620usize)as*mut u8,();
261(TextMeshProUGUI)__receiver)
262        }
263    }
264    #[doc = "`UpdateMask()` overload"]
265    fn update_mask(self) -> () {
266        unsafe {
267            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268            ::unity::il2cpp_call!((::unity::module_base()+0x3578250usize)as*mut u8,();
269(TextMeshProUGUI)__receiver)
270        }
271    }
272    #[doc = "`GetMaterial(crate::unity_engine::material::Material)` overload"]
273    fn get_material(self, mat: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> crate::unity_engine::material::Material {
274        unsafe {
275            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276            {
277                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
278                let __vi = *__vt.get(91usize).unwrap_or_else(|| {
279                    panic!(
280                        "unity: virtual slot {}
281 out of range (vtable len {}
282) on the runtime class behind {}
283 (method `{}
284`)",
285                        91usize,
286                        __vt.len(),
287                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
288                        "GetMaterial",
289                    )
290                });
291                let __inner: extern "C" fn(
292                    TextMeshProUGUI,
293                    crate::unity_engine::material::Material,
294                    ::unity::OptionalMethod,
295                ) -> crate::unity_engine::material::Material = ::core::mem::transmute(__vi.method_ptr);
296                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
297                __inner(__receiver, ::core::convert::Into::into(mat), __mi)
298            }
299        }
300    }
301    #[doc = "`GetMaterials(::unity::Array<crate::unity_engine::material::Material>)` overload"]
302    fn get_materials(
303        self,
304        mats: impl ::core::convert::Into<::unity::Array<crate::unity_engine::material::Material>>,
305    ) -> ::unity::Array<crate::unity_engine::material::Material> {
306        unsafe {
307            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308            {
309                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
310                let __vi = *__vt.get(95usize).unwrap_or_else(|| {
311                    panic!(
312                        "unity: virtual slot {}
313 out of range (vtable len {}
314) on the runtime class behind {}
315 (method `{}
316`)",
317                        95usize,
318                        __vt.len(),
319                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
320                        "GetMaterials",
321                    )
322                });
323                let __inner: extern "C" fn(
324                    TextMeshProUGUI,
325                    ::unity::Array<crate::unity_engine::material::Material>,
326                    ::unity::OptionalMethod,
327                ) -> ::unity::Array<crate::unity_engine::material::Material> = ::core::mem::transmute(__vi.method_ptr);
328                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
329                __inner(__receiver, ::core::convert::Into::into(mats), __mi)
330            }
331        }
332    }
333    #[doc = "`SetSharedMaterial(crate::unity_engine::material::Material)` overload"]
334    fn set_shared_material(self, mat: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
335        unsafe {
336            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
337            {
338                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
339                let __vi = *__vt.get(90usize).unwrap_or_else(|| {
340                    panic!(
341                        "unity: virtual slot {}
342 out of range (vtable len {}
343) on the runtime class behind {}
344 (method `{}
345`)",
346                        90usize,
347                        __vt.len(),
348                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
349                        "SetSharedMaterial",
350                    )
351                });
352                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::material::Material, ::unity::OptionalMethod) -> () =
353                    ::core::mem::transmute(__vi.method_ptr);
354                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
355                __inner(__receiver, ::core::convert::Into::into(mat), __mi)
356            }
357        }
358    }
359    #[doc = "`GetSharedMaterials()` overload"]
360    fn get_shared_materials(self) -> ::unity::Array<crate::unity_engine::material::Material> {
361        unsafe {
362            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363            {
364                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
365                let __vi = *__vt.get(93usize).unwrap_or_else(|| {
366                    panic!(
367                        "unity: virtual slot {}
368 out of range (vtable len {}
369) on the runtime class behind {}
370 (method `{}
371`)",
372                        93usize,
373                        __vt.len(),
374                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
375                        "GetSharedMaterials",
376                    )
377                });
378                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
379                    ::core::mem::transmute(__vi.method_ptr);
380                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
381                __inner(__receiver, __mi)
382            }
383        }
384    }
385    #[doc = "`SetSharedMaterials(::unity::Array<crate::unity_engine::material::Material>)` overload"]
386    fn set_shared_materials(self, materials: impl ::core::convert::Into<::unity::Array<crate::unity_engine::material::Material>>) -> () {
387        unsafe {
388            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389            {
390                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
391                let __vi = *__vt.get(94usize).unwrap_or_else(|| {
392                    panic!(
393                        "unity: virtual slot {}
394 out of range (vtable len {}
395) on the runtime class behind {}
396 (method `{}
397`)",
398                        94usize,
399                        __vt.len(),
400                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
401                        "SetSharedMaterials",
402                    )
403                });
404                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::Array<crate::unity_engine::material::Material>, ::unity::OptionalMethod) -> () =
405                    ::core::mem::transmute(__vi.method_ptr);
406                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
407                __inner(__receiver, ::core::convert::Into::into(materials), __mi)
408            }
409        }
410    }
411    #[doc = "`SetOutlineThickness(f32)` overload"]
412    fn set_outline_thickness(self, thickness: impl ::core::convert::Into<f32>) -> () {
413        unsafe {
414            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415            {
416                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
417                let __vi = *__vt.get(99usize).unwrap_or_else(|| {
418                    panic!(
419                        "unity: virtual slot {}
420 out of range (vtable len {}
421) on the runtime class behind {}
422 (method `{}
423`)",
424                        99usize,
425                        __vt.len(),
426                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
427                        "SetOutlineThickness",
428                    )
429                });
430                let __inner: extern "C" fn(TextMeshProUGUI, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
431                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
432                __inner(__receiver, ::core::convert::Into::into(thickness), __mi)
433            }
434        }
435    }
436    #[doc = "`SetFaceColor(crate::unity_engine::color32::Color32)` overload"]
437    fn set_face_color(self, color: impl ::core::convert::Into<crate::unity_engine::color32::Color32>) -> () {
438        unsafe {
439            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440            {
441                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
442                let __vi = *__vt.get(97usize).unwrap_or_else(|| {
443                    panic!(
444                        "unity: virtual slot {}
445 out of range (vtable len {}
446) on the runtime class behind {}
447 (method `{}
448`)",
449                        97usize,
450                        __vt.len(),
451                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
452                        "SetFaceColor",
453                    )
454                });
455                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::color32::Color32, ::unity::OptionalMethod) -> () =
456                    ::core::mem::transmute(__vi.method_ptr);
457                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
458                __inner(__receiver, ::core::convert::Into::into(color), __mi)
459            }
460        }
461    }
462    #[doc = "`SetOutlineColor(crate::unity_engine::color32::Color32)` overload"]
463    fn set_outline_color(self, color: impl ::core::convert::Into<crate::unity_engine::color32::Color32>) -> () {
464        unsafe {
465            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466            {
467                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
468                let __vi = *__vt.get(98usize).unwrap_or_else(|| {
469                    panic!(
470                        "unity: virtual slot {}
471 out of range (vtable len {}
472) on the runtime class behind {}
473 (method `{}
474`)",
475                        98usize,
476                        __vt.len(),
477                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
478                        "SetOutlineColor",
479                    )
480                });
481                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::color32::Color32, ::unity::OptionalMethod) -> () =
482                    ::core::mem::transmute(__vi.method_ptr);
483                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
484                __inner(__receiver, ::core::convert::Into::into(color), __mi)
485            }
486        }
487    }
488    #[doc = "`SetShaderDepth()` overload"]
489    fn set_shader_depth(self) -> () {
490        unsafe {
491            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
492            {
493                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
494                let __vi = *__vt.get(100usize).unwrap_or_else(|| {
495                    panic!(
496                        "unity: virtual slot {}
497 out of range (vtable len {}
498) on the runtime class behind {}
499 (method `{}
500`)",
501                        100usize,
502                        __vt.len(),
503                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
504                        "SetShaderDepth",
505                    )
506                });
507                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
508                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
509                __inner(__receiver, __mi)
510            }
511        }
512    }
513    #[doc = "`SetCulling()` overload"]
514    fn set_culling(self) -> () {
515        unsafe {
516            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
517            {
518                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
519                let __vi = *__vt.get(101usize).unwrap_or_else(|| {
520                    panic!(
521                        "unity: virtual slot {}
522 out of range (vtable len {}
523) on the runtime class behind {}
524 (method `{}
525`)",
526                        101usize,
527                        __vt.len(),
528                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
529                        "SetCulling",
530                    )
531                });
532                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
533                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
534                __inner(__receiver, __mi)
535            }
536        }
537    }
538    #[doc = "`SetPerspectiveCorrection()` overload"]
539    fn set_perspective_correction(self) -> () {
540        unsafe {
541            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542            ::unity::il2cpp_call!((::unity::module_base()+0x35798e0usize)as*mut u8,();
543(TextMeshProUGUI)__receiver)
544        }
545    }
546    #[doc = "`SetMeshArrays(i32)` overload"]
547    fn set_mesh_arrays(self, size: impl ::core::convert::Into<i32>) -> () {
548        unsafe {
549            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550            ::unity::il2cpp_call!((::unity::module_base()+0x3579980usize)as*mut u8,();
551(TextMeshProUGUI)__receiver,(i32)::core::convert::Into::into(size))
552        }
553    }
554    #[doc = "`SetArraySizes(::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>)` overload"]
555    fn set_array_sizes(self, unicode_chars: impl ::core::convert::Into<::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>>) -> i32 {
556        unsafe {
557            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558            {
559                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
560                let __vi = *__vt.get(114usize).unwrap_or_else(|| {
561                    panic!(
562                        "unity: virtual slot {}
563 out of range (vtable len {}
564) on the runtime class behind {}
565 (method `{}
566`)",
567                        114usize,
568                        __vt.len(),
569                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
570                        "SetArraySizes",
571                    )
572                });
573                let __inner: extern "C" fn(
574                    TextMeshProUGUI,
575                    ::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>,
576                    ::unity::OptionalMethod,
577                ) -> i32 = ::core::mem::transmute(__vi.method_ptr);
578                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
579                __inner(__receiver, ::core::convert::Into::into(unicode_chars), __mi)
580            }
581        }
582    }
583    #[doc = "`ComputeMarginSize()` overload"]
584    fn compute_margin_size(self) -> () {
585        unsafe {
586            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
587            {
588                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
589                let __vi = *__vt.get(119usize).unwrap_or_else(|| {
590                    panic!(
591                        "unity: virtual slot {}
592 out of range (vtable len {}
593) on the runtime class behind {}
594 (method `{}
595`)",
596                        119usize,
597                        __vt.len(),
598                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
599                        "ComputeMarginSize",
600                    )
601                });
602                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
603                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
604                __inner(__receiver, __mi)
605            }
606        }
607    }
608    #[doc = "`OnDidApplyAnimationProperties()` overload"]
609    fn on_did_apply_animation_properties(self) -> () {
610        unsafe {
611            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612            {
613                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
614                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
615                    panic!(
616                        "unity: virtual slot {}
617 out of range (vtable len {}
618) on the runtime class behind {}
619 (method `{}
620`)",
621                        13usize,
622                        __vt.len(),
623                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
624                        "OnDidApplyAnimationProperties",
625                    )
626                });
627                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
628                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
629                __inner(__receiver, __mi)
630            }
631        }
632    }
633    #[doc = "`OnCanvasHierarchyChanged()` overload"]
634    fn on_canvas_hierarchy_changed(self) -> () {
635        unsafe {
636            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
637            {
638                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
639                let __vi = *__vt.get(15usize).unwrap_or_else(|| {
640                    panic!(
641                        "unity: virtual slot {}
642 out of range (vtable len {}
643) on the runtime class behind {}
644 (method `{}
645`)",
646                        15usize,
647                        __vt.len(),
648                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
649                        "OnCanvasHierarchyChanged",
650                    )
651                });
652                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
653                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
654                __inner(__receiver, __mi)
655            }
656        }
657    }
658    #[doc = "`OnTransformParentChanged()` overload"]
659    fn on_transform_parent_changed(self) -> () {
660        unsafe {
661            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
662            {
663                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
664                let __vi = *__vt.get(12usize).unwrap_or_else(|| {
665                    panic!(
666                        "unity: virtual slot {}
667 out of range (vtable len {}
668) on the runtime class behind {}
669 (method `{}
670`)",
671                        12usize,
672                        __vt.len(),
673                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
674                        "OnTransformParentChanged",
675                    )
676                });
677                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
678                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
679                __inner(__receiver, __mi)
680            }
681        }
682    }
683    #[doc = "`OnRectTransformDimensionsChange()` overload"]
684    fn on_rect_transform_dimensions_change(self) -> () {
685        unsafe {
686            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
687            {
688                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
689                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
690                    panic!(
691                        "unity: virtual slot {}
692 out of range (vtable len {}
693) on the runtime class behind {}
694 (method `{}
695`)",
696                        10usize,
697                        __vt.len(),
698                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
699                        "OnRectTransformDimensionsChange",
700                    )
701                });
702                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
703                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
704                __inner(__receiver, __mi)
705            }
706        }
707    }
708    #[doc = "`InternalUpdate()` overload"]
709    fn internal_update(self) -> () {
710        unsafe {
711            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
712            {
713                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
714                let __vi = *__vt.get(132usize).unwrap_or_else(|| {
715                    panic!(
716                        "unity: virtual slot {}
717 out of range (vtable len {}
718) on the runtime class behind {}
719 (method `{}
720`)",
721                        132usize,
722                        __vt.len(),
723                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
724                        "InternalUpdate",
725                    )
726                });
727                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
728                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
729                __inner(__receiver, __mi)
730            }
731        }
732    }
733    #[doc = "`OnPreRenderCanvas()` overload"]
734    fn on_pre_render_canvas(self) -> () {
735        unsafe {
736            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
737            ::unity::il2cpp_call!((::unity::module_base()+0x357c4b0usize)as*mut u8,();
738(TextMeshProUGUI)__receiver)
739        }
740    }
741    #[doc = "`GenerateTextMesh()` overload"]
742    fn generate_text_mesh(self) -> () {
743        unsafe {
744            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
745            {
746                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
747                let __vi = *__vt.get(142usize).unwrap_or_else(|| {
748                    panic!(
749                        "unity: virtual slot {}
750 out of range (vtable len {}
751) on the runtime class behind {}
752 (method `{}
753`)",
754                        142usize,
755                        __vt.len(),
756                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
757                        "GenerateTextMesh",
758                    )
759                });
760                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
761                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
762                __inner(__receiver, __mi)
763            }
764        }
765    }
766    #[doc = "`GetTextContainerLocalCorners()` overload"]
767    fn get_text_container_local_corners(self) -> ::unity::Array<crate::unity_engine::vector3::Vector3> {
768        unsafe {
769            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
770            {
771                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
772                let __vi = *__vt.get(105usize).unwrap_or_else(|| {
773                    panic!(
774                        "unity: virtual slot {}
775 out of range (vtable len {}
776) on the runtime class behind {}
777 (method `{}
778`)",
779                        105usize,
780                        __vt.len(),
781                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
782                        "GetTextContainerLocalCorners",
783                    )
784                });
785                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::vector3::Vector3> =
786                    ::core::mem::transmute(__vi.method_ptr);
787                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
788                __inner(__receiver, __mi)
789            }
790        }
791    }
792    #[doc = "`SetActiveSubMeshes(bool)` overload"]
793    fn set_active_sub_meshes(self, state: impl ::core::convert::Into<bool>) -> () {
794        unsafe {
795            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
796            {
797                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
798                let __vi = *__vt.get(127usize).unwrap_or_else(|| {
799                    panic!(
800                        "unity: virtual slot {}
801 out of range (vtable len {}
802) on the runtime class behind {}
803 (method `{}
804`)",
805                        127usize,
806                        __vt.len(),
807                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
808                        "SetActiveSubMeshes",
809                    )
810                });
811                let __inner: extern "C" fn(TextMeshProUGUI, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
812                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
813                __inner(__receiver, ::core::convert::Into::into(state), __mi)
814            }
815        }
816    }
817    #[doc = "`DestroySubMeshObjects()` overload"]
818    fn destroy_sub_mesh_objects(self) -> () {
819        unsafe {
820            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
821            {
822                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
823                let __vi = *__vt.get(128usize).unwrap_or_else(|| {
824                    panic!(
825                        "unity: virtual slot {}
826 out of range (vtable len {}
827) on the runtime class behind {}
828 (method `{}
829`)",
830                        128usize,
831                        __vt.len(),
832                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
833                        "DestroySubMeshObjects",
834                    )
835                });
836                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
837                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
838                __inner(__receiver, __mi)
839            }
840        }
841    }
842    #[doc = "`GetCompoundBounds()` overload"]
843    fn get_compound_bounds(self) -> crate::unity_engine::bounds::Bounds {
844        unsafe {
845            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
846            {
847                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
848                let __vi = *__vt.get(116usize).unwrap_or_else(|| {
849                    panic!(
850                        "unity: virtual slot {}
851 out of range (vtable len {}
852) on the runtime class behind {}
853 (method `{}
854`)",
855                        116usize,
856                        __vt.len(),
857                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
858                        "GetCompoundBounds",
859                    )
860                });
861                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> crate::unity_engine::bounds::Bounds =
862                    ::core::mem::transmute(__vi.method_ptr);
863                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
864                __inner(__receiver, __mi)
865            }
866        }
867    }
868    #[doc = "`GetCanvasSpaceClippingRect()` overload"]
869    fn get_canvas_space_clipping_rect(self) -> crate::unity_engine::rect::Rect {
870        unsafe {
871            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
872            {
873                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
874                let __vi = *__vt.get(117usize).unwrap_or_else(|| {
875                    panic!(
876                        "unity: virtual slot {}
877 out of range (vtable len {}
878) on the runtime class behind {}
879 (method `{}
880`)",
881                        117usize,
882                        __vt.len(),
883                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
884                        "GetCanvasSpaceClippingRect",
885                    )
886                });
887                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> crate::unity_engine::rect::Rect =
888                    ::core::mem::transmute(__vi.method_ptr);
889                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
890                __inner(__receiver, __mi)
891            }
892        }
893    }
894    #[doc = "`UpdateSDFScale(f32)` overload"]
895    fn update_sdf_scale(self, scale_delta: impl ::core::convert::Into<f32>) -> () {
896        unsafe {
897            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
898            ::unity::il2cpp_call!((::unity::module_base()+0x357c2b0usize)as*mut u8,();
899(TextMeshProUGUI)__receiver,(f32)::core::convert::Into::into(scale_delta))
900        }
901    }
902    #[doc = "`get_materialForRendering()` overload"]
903    fn get_material_for_rendering(self) -> crate::unity_engine::material::Material {
904        unsafe {
905            let __receiver = <TextMeshProUGUI 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(34usize).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                        34usize,
916                        __vt.len(),
917                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
918                        "get_materialForRendering",
919                    )
920                });
921                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
922                    ::core::mem::transmute(__vi.method_ptr);
923                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
924                __inner(__receiver, __mi)
925            }
926        }
927    }
928    #[doc = "`get_autoSizeTextContainer()` overload"]
929    fn get_auto_size_text_container(self) -> bool {
930        unsafe {
931            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
932            {
933                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
934                let __vi = *__vt.get(75usize).unwrap_or_else(|| {
935                    panic!(
936                        "unity: virtual slot {}
937 out of range (vtable len {}
938) on the runtime class behind {}
939 (method `{}
940`)",
941                        75usize,
942                        __vt.len(),
943                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
944                        "get_autoSizeTextContainer",
945                    )
946                });
947                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
948                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
949                __inner(__receiver, __mi)
950            }
951        }
952    }
953    #[doc = "`set_autoSizeTextContainer(bool)` overload"]
954    fn set_auto_size_text_container(self, value: impl ::core::convert::Into<bool>) -> () {
955        unsafe {
956            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
957            {
958                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
959                let __vi = *__vt.get(76usize).unwrap_or_else(|| {
960                    panic!(
961                        "unity: virtual slot {}
962 out of range (vtable len {}
963) on the runtime class behind {}
964 (method `{}
965`)",
966                        76usize,
967                        __vt.len(),
968                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
969                        "set_autoSizeTextContainer",
970                    )
971                });
972                let __inner: extern "C" fn(TextMeshProUGUI, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
973                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
974                __inner(__receiver, ::core::convert::Into::into(value), __mi)
975            }
976        }
977    }
978    #[doc = "`get_mesh()` overload"]
979    fn get_mesh(self) -> crate::unity_engine::mesh::Mesh {
980        unsafe {
981            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
982            {
983                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
984                let __vi = *__vt.get(77usize).unwrap_or_else(|| {
985                    panic!(
986                        "unity: virtual slot {}
987 out of range (vtable len {}
988) on the runtime class behind {}
989 (method `{}
990`)",
991                        77usize,
992                        __vt.len(),
993                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
994                        "get_mesh",
995                    )
996                });
997                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> crate::unity_engine::mesh::Mesh =
998                    ::core::mem::transmute(__vi.method_ptr);
999                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1000                __inner(__receiver, __mi)
1001            }
1002        }
1003    }
1004    #[doc = "`get_canvasRenderer()` overload"]
1005    fn get_canvas_renderer(self) -> crate::unity_engine::canvasrenderer::CanvasRenderer {
1006        unsafe {
1007            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1008            ::unity::il2cpp_call!((::unity::module_base()+0x3585090usize)as*mut u8,crate::unity_engine::canvasrenderer::CanvasRenderer;
1009(TextMeshProUGUI)__receiver)
1010        }
1011    }
1012    #[doc = "`CalculateLayoutInputHorizontal()` overload"]
1013    fn calculate_layout_input_horizontal(self) -> () {
1014        unsafe {
1015            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1016            {
1017                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1018                let __vi = *__vt.get(133usize).unwrap_or_else(|| {
1019                    panic!(
1020                        "unity: virtual slot {}
1021 out of range (vtable len {}
1022) on the runtime class behind {}
1023 (method `{}
1024`)",
1025                        133usize,
1026                        __vt.len(),
1027                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1028                        "CalculateLayoutInputHorizontal",
1029                    )
1030                });
1031                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1032                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1033                __inner(__receiver, __mi)
1034            }
1035        }
1036    }
1037    #[doc = "`CalculateLayoutInputVertical()` overload"]
1038    fn calculate_layout_input_vertical(self) -> () {
1039        unsafe {
1040            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1041            {
1042                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1043                let __vi = *__vt.get(134usize).unwrap_or_else(|| {
1044                    panic!(
1045                        "unity: virtual slot {}
1046 out of range (vtable len {}
1047) on the runtime class behind {}
1048 (method `{}
1049`)",
1050                        134usize,
1051                        __vt.len(),
1052                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1053                        "CalculateLayoutInputVertical",
1054                    )
1055                });
1056                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1057                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1058                __inner(__receiver, __mi)
1059            }
1060        }
1061    }
1062    #[doc = "`SetVerticesDirty()` overload"]
1063    fn set_vertices_dirty(self) -> () {
1064        unsafe {
1065            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1066            {
1067                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1068                let __vi = *__vt.get(28usize).unwrap_or_else(|| {
1069                    panic!(
1070                        "unity: virtual slot {}
1071 out of range (vtable len {}
1072) on the runtime class behind {}
1073 (method `{}
1074`)",
1075                        28usize,
1076                        __vt.len(),
1077                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1078                        "SetVerticesDirty",
1079                    )
1080                });
1081                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1082                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1083                __inner(__receiver, __mi)
1084            }
1085        }
1086    }
1087    #[doc = "`SetLayoutDirty()` overload"]
1088    fn set_layout_dirty(self) -> () {
1089        unsafe {
1090            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1091            {
1092                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1093                let __vi = *__vt.get(27usize).unwrap_or_else(|| {
1094                    panic!(
1095                        "unity: virtual slot {}
1096 out of range (vtable len {}
1097) on the runtime class behind {}
1098 (method `{}
1099`)",
1100                        27usize,
1101                        __vt.len(),
1102                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1103                        "SetLayoutDirty",
1104                    )
1105                });
1106                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1107                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1108                __inner(__receiver, __mi)
1109            }
1110        }
1111    }
1112    #[doc = "`SetMaterialDirty()` overload"]
1113    fn set_material_dirty(self) -> () {
1114        unsafe {
1115            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1116            {
1117                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1118                let __vi = *__vt.get(29usize).unwrap_or_else(|| {
1119                    panic!(
1120                        "unity: virtual slot {}
1121 out of range (vtable len {}
1122) on the runtime class behind {}
1123 (method `{}
1124`)",
1125                        29usize,
1126                        __vt.len(),
1127                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1128                        "SetMaterialDirty",
1129                    )
1130                });
1131                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1132                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1133                __inner(__receiver, __mi)
1134            }
1135        }
1136    }
1137    #[doc = "`SetAllDirty()` overload"]
1138    fn set_all_dirty(self) -> () {
1139        unsafe {
1140            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1141            {
1142                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1143                let __vi = *__vt.get(26usize).unwrap_or_else(|| {
1144                    panic!(
1145                        "unity: virtual slot {}
1146 out of range (vtable len {}
1147) on the runtime class behind {}
1148 (method `{}
1149`)",
1150                        26usize,
1151                        __vt.len(),
1152                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1153                        "SetAllDirty",
1154                    )
1155                });
1156                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1157                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1158                __inner(__receiver, __mi)
1159            }
1160        }
1161    }
1162    #[doc = "`DelayedGraphicRebuild()` overload"]
1163    fn delayed_graphic_rebuild(self) -> crate::system::collections::ienumerator::IEnumerator {
1164        unsafe {
1165            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1166            ::unity::il2cpp_call!((::unity::module_base()+0x3585500usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
1167(TextMeshProUGUI)__receiver)
1168        }
1169    }
1170    #[doc = "`DelayedMaterialRebuild()` overload"]
1171    fn delayed_material_rebuild(self) -> crate::system::collections::ienumerator::IEnumerator {
1172        unsafe {
1173            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1174            ::unity::il2cpp_call!((::unity::module_base()+0x3585580usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
1175(TextMeshProUGUI)__receiver)
1176        }
1177    }
1178    #[doc = "`Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate)` overload"]
1179    fn rebuild(self, update: impl ::core::convert::Into<crate::unity_engine::ui::canvasupdate::CanvasUpdate>) -> () {
1180        unsafe {
1181            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1182            {
1183                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1184                let __vi = *__vt.get(37usize).unwrap_or_else(|| {
1185                    panic!(
1186                        "unity: virtual slot {}
1187 out of range (vtable len {}
1188) on the runtime class behind {}
1189 (method `{}
1190`)",
1191                        37usize,
1192                        __vt.len(),
1193                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1194                        "Rebuild",
1195                    )
1196                });
1197                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
1198                    ::core::mem::transmute(__vi.method_ptr);
1199                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1200                __inner(__receiver, ::core::convert::Into::into(update), __mi)
1201            }
1202        }
1203    }
1204    #[doc = "`UpdateSubObjectPivot()` overload"]
1205    fn update_sub_object_pivot(self) -> () {
1206        unsafe {
1207            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1208            ::unity::il2cpp_call!((::unity::module_base()+0x357c110usize)as*mut u8,();
1209(TextMeshProUGUI)__receiver)
1210        }
1211    }
1212    #[doc = "`GetModifiedMaterial(crate::unity_engine::material::Material)` overload"]
1213    fn get_modified_material(
1214        self,
1215        base_material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
1216    ) -> crate::unity_engine::material::Material {
1217        unsafe {
1218            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1219            {
1220                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1221                let __vi = *__vt.get(58usize).unwrap_or_else(|| {
1222                    panic!(
1223                        "unity: virtual slot {}
1224 out of range (vtable len {}
1225) on the runtime class behind {}
1226 (method `{}
1227`)",
1228                        58usize,
1229                        __vt.len(),
1230                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1231                        "GetModifiedMaterial",
1232                    )
1233                });
1234                let __inner: extern "C" fn(
1235                    TextMeshProUGUI,
1236                    crate::unity_engine::material::Material,
1237                    ::unity::OptionalMethod,
1238                ) -> crate::unity_engine::material::Material = ::core::mem::transmute(__vi.method_ptr);
1239                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1240                __inner(__receiver, ::core::convert::Into::into(base_material), __mi)
1241            }
1242        }
1243    }
1244    #[doc = "`UpdateMaterial()` overload"]
1245    fn update_material(self) -> () {
1246        unsafe {
1247            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1248            {
1249                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1250                let __vi = *__vt.get(40usize).unwrap_or_else(|| {
1251                    panic!(
1252                        "unity: virtual slot {}
1253 out of range (vtable len {}
1254) on the runtime class behind {}
1255 (method `{}
1256`)",
1257                        40usize,
1258                        __vt.len(),
1259                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1260                        "UpdateMaterial",
1261                    )
1262                });
1263                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1264                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1265                __inner(__receiver, __mi)
1266            }
1267        }
1268    }
1269    #[doc = "`get_maskOffset()` overload"]
1270    fn get_mask_offset(self) -> crate::unity_engine::vector4::Vector4 {
1271        unsafe {
1272            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1273            ::unity::il2cpp_call!((::unity::module_base()+0x3585920usize)as*mut u8,crate::unity_engine::vector4::Vector4;
1274(TextMeshProUGUI)__receiver)
1275        }
1276    }
1277    #[doc = "`set_maskOffset(crate::unity_engine::vector4::Vector4)` overload"]
1278    fn set_mask_offset(self, value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>) -> () {
1279        unsafe {
1280            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1281            ::unity::il2cpp_call!((::unity::module_base()+0x3585940usize)as*mut u8,();
1282(TextMeshProUGUI)__receiver,(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
1283        }
1284    }
1285    #[doc = "`RecalculateClipping()` overload"]
1286    fn recalculate_clipping(self) -> () {
1287        unsafe {
1288            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1289            {
1290                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1291                let __vi = *__vt.get(63usize).unwrap_or_else(|| {
1292                    panic!(
1293                        "unity: virtual slot {}
1294 out of range (vtable len {}
1295) on the runtime class behind {}
1296 (method `{}
1297`)",
1298                        63usize,
1299                        __vt.len(),
1300                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1301                        "RecalculateClipping",
1302                    )
1303                });
1304                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1305                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1306                __inner(__receiver, __mi)
1307            }
1308        }
1309    }
1310    #[doc = "`Cull(crate::unity_engine::rect::Rect, bool)` overload"]
1311    fn cull(self, clip_rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>, valid_rect: impl ::core::convert::Into<bool>) -> () {
1312        unsafe {
1313            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1314            {
1315                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1316                let __vi = *__vt.get(59usize).unwrap_or_else(|| {
1317                    panic!(
1318                        "unity: virtual slot {}
1319 out of range (vtable len {}
1320) on the runtime class behind {}
1321 (method `{}
1322`)",
1323                        59usize,
1324                        __vt.len(),
1325                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1326                        "Cull",
1327                    )
1328                });
1329                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::rect::Rect, bool, ::unity::OptionalMethod) -> () =
1330                    ::core::mem::transmute(__vi.method_ptr);
1331                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1332                __inner(
1333                    __receiver,
1334                    ::core::convert::Into::into(clip_rect),
1335                    ::core::convert::Into::into(valid_rect),
1336                    __mi,
1337                )
1338            }
1339        }
1340    }
1341    #[doc = "`UpdateCulling()` overload"]
1342    fn update_culling(self) -> () {
1343        unsafe {
1344            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1345            {
1346                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1347                let __vi = *__vt.get(102usize).unwrap_or_else(|| {
1348                    panic!(
1349                        "unity: virtual slot {}
1350 out of range (vtable len {}
1351) on the runtime class behind {}
1352 (method `{}
1353`)",
1354                        102usize,
1355                        __vt.len(),
1356                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1357                        "UpdateCulling",
1358                    )
1359                });
1360                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1361                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1362                __inner(__receiver, __mi)
1363            }
1364        }
1365    }
1366    #[doc = "`UpdateMeshPadding()` overload"]
1367    fn update_mesh_padding(self) -> () {
1368        unsafe {
1369            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1370            {
1371                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1372                let __vi = *__vt.get(111usize).unwrap_or_else(|| {
1373                    panic!(
1374                        "unity: virtual slot {}
1375 out of range (vtable len {}
1376) on the runtime class behind {}
1377 (method `{}
1378`)",
1379                        111usize,
1380                        __vt.len(),
1381                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1382                        "UpdateMeshPadding",
1383                    )
1384                });
1385                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1386                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1387                __inner(__receiver, __mi)
1388            }
1389        }
1390    }
1391    #[doc = "`InternalCrossFadeColor(crate::unity_engine::color::Color, f32, bool, bool)` overload"]
1392    fn internal_cross_fade_color(
1393        self,
1394        target_color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
1395        duration: impl ::core::convert::Into<f32>,
1396        ignore_time_scale: impl ::core::convert::Into<bool>,
1397        use_alpha: impl ::core::convert::Into<bool>,
1398    ) -> () {
1399        unsafe {
1400            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1401            {
1402                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1403                let __vi = *__vt.get(112usize).unwrap_or_else(|| {
1404                    panic!(
1405                        "unity: virtual slot {}
1406 out of range (vtable len {}
1407) on the runtime class behind {}
1408 (method `{}
1409`)",
1410                        112usize,
1411                        __vt.len(),
1412                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1413                        "InternalCrossFadeColor",
1414                    )
1415                });
1416                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::color::Color, f32, bool, bool, ::unity::OptionalMethod) -> () =
1417                    ::core::mem::transmute(__vi.method_ptr);
1418                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1419                __inner(
1420                    __receiver,
1421                    ::core::convert::Into::into(target_color),
1422                    ::core::convert::Into::into(duration),
1423                    ::core::convert::Into::into(ignore_time_scale),
1424                    ::core::convert::Into::into(use_alpha),
1425                    __mi,
1426                )
1427            }
1428        }
1429    }
1430    #[doc = "`InternalCrossFadeAlpha(f32, f32, bool)` overload"]
1431    fn internal_cross_fade_alpha(
1432        self,
1433        alpha: impl ::core::convert::Into<f32>,
1434        duration: impl ::core::convert::Into<f32>,
1435        ignore_time_scale: impl ::core::convert::Into<bool>,
1436    ) -> () {
1437        unsafe {
1438            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1439            {
1440                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1441                let __vi = *__vt.get(113usize).unwrap_or_else(|| {
1442                    panic!(
1443                        "unity: virtual slot {}
1444 out of range (vtable len {}
1445) on the runtime class behind {}
1446 (method `{}
1447`)",
1448                        113usize,
1449                        __vt.len(),
1450                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1451                        "InternalCrossFadeAlpha",
1452                    )
1453                });
1454                let __inner: extern "C" fn(TextMeshProUGUI, f32, f32, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1455                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1456                __inner(
1457                    __receiver,
1458                    ::core::convert::Into::into(alpha),
1459                    ::core::convert::Into::into(duration),
1460                    ::core::convert::Into::into(ignore_time_scale),
1461                    __mi,
1462                )
1463            }
1464        }
1465    }
1466    #[doc = "`ForceMeshUpdate(bool, bool)` overload"]
1467    fn force_mesh_update(self, ignore_active_state: impl ::core::convert::Into<bool>, force_text_reparsing: impl ::core::convert::Into<bool>) -> () {
1468        unsafe {
1469            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1470            {
1471                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1472                let __vi = *__vt.get(106usize).unwrap_or_else(|| {
1473                    panic!(
1474                        "unity: virtual slot {}
1475 out of range (vtable len {}
1476) on the runtime class behind {}
1477 (method `{}
1478`)",
1479                        106usize,
1480                        __vt.len(),
1481                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1482                        "ForceMeshUpdate",
1483                    )
1484                });
1485                let __inner: extern "C" fn(TextMeshProUGUI, bool, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1486                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1487                __inner(
1488                    __receiver,
1489                    ::core::convert::Into::into(ignore_active_state),
1490                    ::core::convert::Into::into(force_text_reparsing),
1491                    __mi,
1492                )
1493            }
1494        }
1495    }
1496    #[doc = "`GetTextInfo(::unity::Il2CppString)` overload"]
1497    fn get_text_info(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::tm_pro::tmp_textinfo::TMP_TextInfo {
1498        unsafe {
1499            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1500            {
1501                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1502                let __vi = *__vt.get(118usize).unwrap_or_else(|| {
1503                    panic!(
1504                        "unity: virtual slot {}
1505 out of range (vtable len {}
1506) on the runtime class behind {}
1507 (method `{}
1508`)",
1509                        118usize,
1510                        __vt.len(),
1511                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1512                        "GetTextInfo",
1513                    )
1514                });
1515                let __inner: extern "C" fn(
1516                    TextMeshProUGUI,
1517                    ::unity::Il2CppString,
1518                    ::unity::OptionalMethod,
1519                ) -> crate::tm_pro::tmp_textinfo::TMP_TextInfo = ::core::mem::transmute(__vi.method_ptr);
1520                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1521                __inner(__receiver, ::core::convert::Into::into(text), __mi)
1522            }
1523        }
1524    }
1525    #[doc = "`ClearMesh()` overload"]
1526    fn clear_mesh(self) -> () {
1527        unsafe {
1528            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1529            {
1530                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1531                let __vi = *__vt.get(129usize).unwrap_or_else(|| {
1532                    panic!(
1533                        "unity: virtual slot {}
1534 out of range (vtable len {}
1535) on the runtime class behind {}
1536 (method `{}
1537`)",
1538                        129usize,
1539                        __vt.len(),
1540                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1541                        "ClearMesh",
1542                    )
1543                });
1544                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1545                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1546                __inner(__receiver, __mi)
1547            }
1548        }
1549    }
1550    #[doc = "`add_OnPreRenderText(crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>)` overload"]
1551    fn add_on_pre_render_text(
1552        self,
1553        value: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>>,
1554    ) -> () {
1555        unsafe {
1556            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1557            {
1558                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1559                let __vi = *__vt.get(78usize).unwrap_or_else(|| {
1560                    panic!(
1561                        "unity: virtual slot {}
1562 out of range (vtable len {}
1563) on the runtime class behind {}
1564 (method `{}
1565`)",
1566                        78usize,
1567                        __vt.len(),
1568                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1569                        "add_OnPreRenderText",
1570                    )
1571                });
1572                let __inner: extern "C" fn(
1573                    TextMeshProUGUI,
1574                    crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
1575                    ::unity::OptionalMethod,
1576                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1577                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1578                __inner(__receiver, ::core::convert::Into::into(value), __mi)
1579            }
1580        }
1581    }
1582    #[doc = "`remove_OnPreRenderText(crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>)` overload"]
1583    fn remove_on_pre_render_text(
1584        self,
1585        value: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>>,
1586    ) -> () {
1587        unsafe {
1588            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1589            {
1590                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1591                let __vi = *__vt.get(79usize).unwrap_or_else(|| {
1592                    panic!(
1593                        "unity: virtual slot {}
1594 out of range (vtable len {}
1595) on the runtime class behind {}
1596 (method `{}
1597`)",
1598                        79usize,
1599                        __vt.len(),
1600                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1601                        "remove_OnPreRenderText",
1602                    )
1603                });
1604                let __inner: extern "C" fn(
1605                    TextMeshProUGUI,
1606                    crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
1607                    ::unity::OptionalMethod,
1608                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1609                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1610                __inner(__receiver, ::core::convert::Into::into(value), __mi)
1611            }
1612        }
1613    }
1614    #[doc = "`UpdateGeometry(crate::unity_engine::mesh::Mesh, i32)` overload"]
1615    fn update_geometry(self, mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>, index: impl ::core::convert::Into<i32>) -> () {
1616        unsafe {
1617            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1618            {
1619                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1620                let __vi = *__vt.get(107usize).unwrap_or_else(|| {
1621                    panic!(
1622                        "unity: virtual slot {}
1623 out of range (vtable len {}
1624) on the runtime class behind {}
1625 (method `{}
1626`)",
1627                        107usize,
1628                        __vt.len(),
1629                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1630                        "UpdateGeometry",
1631                    )
1632                });
1633                let __inner: extern "C" fn(TextMeshProUGUI, crate::unity_engine::mesh::Mesh, i32, ::unity::OptionalMethod) -> () =
1634                    ::core::mem::transmute(__vi.method_ptr);
1635                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1636                __inner(__receiver, ::core::convert::Into::into(mesh), ::core::convert::Into::into(index), __mi)
1637            }
1638        }
1639    }
1640    #[doc = "`UpdateVertexData(crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags)` overload"]
1641    fn update_vertex_data(self, flags: impl ::core::convert::Into<crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags>) -> () {
1642        unsafe {
1643            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1644            {
1645                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1646                let __vi = *__vt.get(108usize).unwrap_or_else(|| {
1647                    panic!(
1648                        "unity: virtual slot {}
1649 out of range (vtable len {}
1650) on the runtime class behind {}
1651 (method `{}
1652`)",
1653                        108usize,
1654                        __vt.len(),
1655                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1656                        "UpdateVertexData",
1657                    )
1658                });
1659                let __inner: extern "C" fn(
1660                    TextMeshProUGUI,
1661                    crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags,
1662                    ::unity::OptionalMethod,
1663                ) -> () = ::core::mem::transmute(__vi.method_ptr);
1664                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1665                __inner(__receiver, ::core::convert::Into::into(flags), __mi)
1666            }
1667        }
1668    }
1669    #[doc = "`UpdateVertexData()` overload"]
1670    fn update_vertex_data_2(self) -> () {
1671        unsafe {
1672            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1673            {
1674                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1675                let __vi = *__vt.get(109usize).unwrap_or_else(|| {
1676                    panic!(
1677                        "unity: virtual slot {}
1678 out of range (vtable len {}
1679) on the runtime class behind {}
1680 (method `{}
1681`)",
1682                        109usize,
1683                        __vt.len(),
1684                        <TextMeshProUGUI as ::unity::ClassIdentity>::NAME,
1685                        "UpdateVertexData",
1686                    )
1687                });
1688                let __inner: extern "C" fn(TextMeshProUGUI, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1689                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1690                __inner(__receiver, __mi)
1691            }
1692        }
1693    }
1694    #[doc = "`UpdateFontAsset()` overload"]
1695    fn update_font_asset(self) -> () {
1696        unsafe {
1697            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1698            ::unity::il2cpp_call!((::unity::module_base()+0x35869b0usize)as*mut u8,();
1699(TextMeshProUGUI)__receiver)
1700        }
1701    }
1702    #[doc = "`.ctor()` overload"]
1703    fn ctor(self) -> () {
1704        unsafe {
1705            let __receiver = <TextMeshProUGUI as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1706            ::unity::il2cpp_call!((::unity::module_base()+0x35869c0usize)as*mut u8,();
1707(TextMeshProUGUI)__receiver)
1708        }
1709    }
1710}
1711
1712#[cfg(feature = "tm_pro-textmeshprougui")]
1713impl<__T: ITextMeshProUGUI> ITextMeshProUGUIMethods for __T {}
1714
1715#[cfg(feature = "tm_pro-textmeshprougui")]
1716impl TextMeshProUGUI {
1717    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1718        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1719    }
1720
1721    pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1722        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1723    }
1724
1725    pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1726        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1727    }
1728
1729    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1730        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1731    }
1732
1733    pub fn load_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1734        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1735    }
1736
1737    pub fn get_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1738        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1739    }
1740
1741    pub fn update_env_map_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1742        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1743    }
1744
1745    pub fn enable_masking_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1746        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1747    }
1748
1749    pub fn disable_masking_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1750        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1751    }
1752
1753    pub fn update_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1754        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1755    }
1756
1757    pub fn get_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1758        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1759    }
1760
1761    pub fn get_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1762        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1763    }
1764
1765    pub fn set_shared_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1766        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1767    }
1768
1769    pub fn get_shared_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1770        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1771    }
1772
1773    pub fn set_shared_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1774        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1775    }
1776
1777    pub fn set_outline_thickness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1778        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1779    }
1780
1781    pub fn set_face_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1782        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1783    }
1784
1785    pub fn set_outline_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1786        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1787    }
1788
1789    pub fn set_shader_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1790        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1791    }
1792
1793    pub fn set_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1794        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1795    }
1796
1797    pub fn set_perspective_correction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1798        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1799    }
1800
1801    pub fn set_mesh_arrays_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1802        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1803    }
1804
1805    pub fn set_array_sizes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1806        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1807    }
1808
1809    pub fn compute_margin_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1810        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1811    }
1812
1813    pub fn on_did_apply_animation_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1814        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1815    }
1816
1817    pub fn on_canvas_hierarchy_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1818        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1819    }
1820
1821    pub fn on_transform_parent_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1822        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1823    }
1824
1825    pub fn on_rect_transform_dimensions_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1826        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1827    }
1828
1829    pub fn internal_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1830        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1831    }
1832
1833    pub fn on_pre_render_canvas_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1834        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1835    }
1836
1837    pub fn generate_text_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1838        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1839    }
1840
1841    pub fn get_text_container_local_corners_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1842        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1843    }
1844
1845    pub fn set_active_sub_meshes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1846        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1847    }
1848
1849    pub fn destroy_sub_mesh_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1850        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1851    }
1852
1853    pub fn get_compound_bounds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1854        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1855    }
1856
1857    pub fn get_canvas_space_clipping_rect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1858        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1859    }
1860
1861    pub fn update_sdf_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1862        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1863    }
1864
1865    pub fn get_material_for_rendering_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1866        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1867    }
1868
1869    pub fn get_auto_size_text_container_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1870        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1871    }
1872
1873    pub fn set_auto_size_text_container_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1874        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1875    }
1876
1877    pub fn get_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1878        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1879    }
1880
1881    pub fn get_canvas_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1882        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1883    }
1884
1885    pub fn calculate_layout_input_horizontal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1886        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1887    }
1888
1889    pub fn calculate_layout_input_vertical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1890        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1891    }
1892
1893    pub fn set_vertices_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1894        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1895    }
1896
1897    pub fn set_layout_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1898        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1899    }
1900
1901    pub fn set_material_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1902        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1903    }
1904
1905    pub fn set_all_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1906        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1907    }
1908
1909    pub fn delayed_graphic_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1910        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1911    }
1912
1913    pub fn delayed_material_rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1914        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1915    }
1916
1917    pub fn rebuild_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1918        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1919    }
1920
1921    pub fn update_sub_object_pivot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1922        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1923    }
1924
1925    pub fn get_modified_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1926        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1927    }
1928
1929    pub fn update_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1930        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1931    }
1932
1933    pub fn get_mask_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1934        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1935    }
1936
1937    pub fn set_mask_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1938        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1939    }
1940
1941    pub fn recalculate_clipping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1942        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1943    }
1944
1945    pub fn cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1946        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1947    }
1948
1949    pub fn update_culling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1950        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1951    }
1952
1953    pub fn update_mesh_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1954        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1955    }
1956
1957    pub fn internal_cross_fade_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1958        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1959    }
1960
1961    pub fn internal_cross_fade_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1962        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1963    }
1964
1965    pub fn force_mesh_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1966        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1967    }
1968
1969    pub fn get_text_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1970        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1971    }
1972
1973    pub fn clear_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1974        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1975    }
1976
1977    pub fn add_on_pre_render_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1978        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1979    }
1980
1981    pub fn remove_on_pre_render_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1982        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1983    }
1984
1985    pub fn update_geometry_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1986        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1987    }
1988
1989    pub fn update_vertex_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1990        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1991    }
1992
1993    pub fn update_vertex_data_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1994        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1995    }
1996
1997    pub fn update_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1998        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1999    }
2000
2001    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2002        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
2003    }
2004
2005    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2006        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
2007    }
2008}
2009
2010#[cfg(feature = "tm_pro-textmeshprougui")]
2011impl TextMeshProUGUI {
2012    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2013    pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2014        let __mi = Self::awake_method_info();
2015        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2016        __inner(this.into(), ::core::option::Option::None)
2017    }
2018
2019    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2020    pub unsafe fn on_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2021        let __mi = Self::on_enable_method_info();
2022        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2023        __inner(this.into(), ::core::option::Option::None)
2024    }
2025
2026    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnDisable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2027    pub unsafe fn on_disable(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2028        let __mi = Self::on_disable_method_info();
2029        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2030        __inner(this.into(), ::core::option::Option::None)
2031    }
2032
2033    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnDestroy`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2034    pub unsafe fn on_destroy(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2035        let __mi = Self::on_destroy_method_info();
2036        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2037        __inner(this.into(), ::core::option::Option::None)
2038    }
2039
2040    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `LoadFontAsset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2041    pub unsafe fn load_font_asset(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2042        let __mi = Self::load_font_asset_method_info();
2043        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2044        __inner(this.into(), ::core::option::Option::None)
2045    }
2046
2047    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2048    pub unsafe fn get_material(
2049        this: impl ::core::convert::Into<::unity::IlInstance>,
2050        mat: crate::unity_engine::material::Material,
2051    ) -> crate::unity_engine::material::Material {
2052        let __mi = Self::get_material_method_info();
2053        let __inner: extern "C" fn(
2054            ::unity::IlInstance,
2055            crate::unity_engine::material::Material,
2056            ::unity::OptionalMethod,
2057        ) -> crate::unity_engine::material::Material = ::core::mem::transmute(__mi.method_ptr);
2058        __inner(this.into(), mat, ::core::option::Option::None)
2059    }
2060
2061    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2062    pub unsafe fn get_materials(
2063        this: impl ::core::convert::Into<::unity::IlInstance>,
2064        mats: ::unity::Array<crate::unity_engine::material::Material>,
2065    ) -> ::unity::Array<crate::unity_engine::material::Material> {
2066        let __mi = Self::get_materials_method_info();
2067        let __inner: extern "C" fn(
2068            ::unity::IlInstance,
2069            ::unity::Array<crate::unity_engine::material::Material>,
2070            ::unity::OptionalMethod,
2071        ) -> ::unity::Array<crate::unity_engine::material::Material> = ::core::mem::transmute(__mi.method_ptr);
2072        __inner(this.into(), mats, ::core::option::Option::None)
2073    }
2074
2075    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetSharedMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2076    pub unsafe fn set_shared_material(this: impl ::core::convert::Into<::unity::IlInstance>, mat: crate::unity_engine::material::Material) -> () {
2077        let __mi = Self::set_shared_material_method_info();
2078        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::material::Material, ::unity::OptionalMethod) -> () =
2079            ::core::mem::transmute(__mi.method_ptr);
2080        __inner(this.into(), mat, ::core::option::Option::None)
2081    }
2082
2083    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetSharedMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2084    pub unsafe fn get_shared_materials(
2085        this: impl ::core::convert::Into<::unity::IlInstance>,
2086    ) -> ::unity::Array<crate::unity_engine::material::Material> {
2087        let __mi = Self::get_shared_materials_method_info();
2088        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::material::Material> =
2089            ::core::mem::transmute(__mi.method_ptr);
2090        __inner(this.into(), ::core::option::Option::None)
2091    }
2092
2093    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetSharedMaterials`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2094    pub unsafe fn set_shared_materials(
2095        this: impl ::core::convert::Into<::unity::IlInstance>,
2096        materials: ::unity::Array<crate::unity_engine::material::Material>,
2097    ) -> () {
2098        let __mi = Self::set_shared_materials_method_info();
2099        let __inner: extern "C" fn(::unity::IlInstance, ::unity::Array<crate::unity_engine::material::Material>, ::unity::OptionalMethod) -> () =
2100            ::core::mem::transmute(__mi.method_ptr);
2101        __inner(this.into(), materials, ::core::option::Option::None)
2102    }
2103
2104    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetOutlineThickness`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2105    pub unsafe fn set_outline_thickness(this: impl ::core::convert::Into<::unity::IlInstance>, thickness: f32) -> () {
2106        let __mi = Self::set_outline_thickness_method_info();
2107        let __inner: extern "C" fn(::unity::IlInstance, f32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2108        __inner(this.into(), thickness, ::core::option::Option::None)
2109    }
2110
2111    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetFaceColor`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2112    pub unsafe fn set_face_color(this: impl ::core::convert::Into<::unity::IlInstance>, color: crate::unity_engine::color32::Color32) -> () {
2113        let __mi = Self::set_face_color_method_info();
2114        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::color32::Color32, ::unity::OptionalMethod) -> () =
2115            ::core::mem::transmute(__mi.method_ptr);
2116        __inner(this.into(), color, ::core::option::Option::None)
2117    }
2118
2119    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetOutlineColor`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2120    pub unsafe fn set_outline_color(this: impl ::core::convert::Into<::unity::IlInstance>, color: crate::unity_engine::color32::Color32) -> () {
2121        let __mi = Self::set_outline_color_method_info();
2122        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::color32::Color32, ::unity::OptionalMethod) -> () =
2123            ::core::mem::transmute(__mi.method_ptr);
2124        __inner(this.into(), color, ::core::option::Option::None)
2125    }
2126
2127    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetShaderDepth`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2128    pub unsafe fn set_shader_depth(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2129        let __mi = Self::set_shader_depth_method_info();
2130        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2131        __inner(this.into(), ::core::option::Option::None)
2132    }
2133
2134    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetCulling`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2135    pub unsafe fn set_culling(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2136        let __mi = Self::set_culling_method_info();
2137        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2138        __inner(this.into(), ::core::option::Option::None)
2139    }
2140
2141    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetArraySizes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2142    pub unsafe fn set_array_sizes(
2143        this: impl ::core::convert::Into<::unity::IlInstance>,
2144        unicode_chars: ::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>,
2145    ) -> i32 {
2146        let __mi = Self::set_array_sizes_method_info();
2147        let __inner: extern "C" fn(
2148            ::unity::IlInstance,
2149            ::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>,
2150            ::unity::OptionalMethod,
2151        ) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2152        __inner(this.into(), unicode_chars, ::core::option::Option::None)
2153    }
2154
2155    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `ComputeMarginSize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2156    pub unsafe fn compute_margin_size(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2157        let __mi = Self::compute_margin_size_method_info();
2158        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2159        __inner(this.into(), ::core::option::Option::None)
2160    }
2161
2162    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnDidApplyAnimationProperties`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2163    pub unsafe fn on_did_apply_animation_properties(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2164        let __mi = Self::on_did_apply_animation_properties_method_info();
2165        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2166        __inner(this.into(), ::core::option::Option::None)
2167    }
2168
2169    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnCanvasHierarchyChanged`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2170    pub unsafe fn on_canvas_hierarchy_changed(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2171        let __mi = Self::on_canvas_hierarchy_changed_method_info();
2172        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2173        __inner(this.into(), ::core::option::Option::None)
2174    }
2175
2176    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnTransformParentChanged`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2177    pub unsafe fn on_transform_parent_changed(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2178        let __mi = Self::on_transform_parent_changed_method_info();
2179        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2180        __inner(this.into(), ::core::option::Option::None)
2181    }
2182
2183    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `OnRectTransformDimensionsChange`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2184    pub unsafe fn on_rect_transform_dimensions_change(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2185        let __mi = Self::on_rect_transform_dimensions_change_method_info();
2186        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2187        __inner(this.into(), ::core::option::Option::None)
2188    }
2189
2190    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `InternalUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2191    pub unsafe fn internal_update(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2192        let __mi = Self::internal_update_method_info();
2193        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2194        __inner(this.into(), ::core::option::Option::None)
2195    }
2196
2197    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GenerateTextMesh`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2198    pub unsafe fn generate_text_mesh(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2199        let __mi = Self::generate_text_mesh_method_info();
2200        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2201        __inner(this.into(), ::core::option::Option::None)
2202    }
2203
2204    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetTextContainerLocalCorners`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2205    pub unsafe fn get_text_container_local_corners(
2206        this: impl ::core::convert::Into<::unity::IlInstance>,
2207    ) -> ::unity::Array<crate::unity_engine::vector3::Vector3> {
2208        let __mi = Self::get_text_container_local_corners_method_info();
2209        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Array<crate::unity_engine::vector3::Vector3> =
2210            ::core::mem::transmute(__mi.method_ptr);
2211        __inner(this.into(), ::core::option::Option::None)
2212    }
2213
2214    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetActiveSubMeshes`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2215    pub unsafe fn set_active_sub_meshes(this: impl ::core::convert::Into<::unity::IlInstance>, state: bool) -> () {
2216        let __mi = Self::set_active_sub_meshes_method_info();
2217        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2218        __inner(this.into(), state, ::core::option::Option::None)
2219    }
2220
2221    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `DestroySubMeshObjects`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2222    pub unsafe fn destroy_sub_mesh_objects(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2223        let __mi = Self::destroy_sub_mesh_objects_method_info();
2224        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2225        __inner(this.into(), ::core::option::Option::None)
2226    }
2227
2228    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetCompoundBounds`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2229    pub unsafe fn get_compound_bounds(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::bounds::Bounds {
2230        let __mi = Self::get_compound_bounds_method_info();
2231        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::bounds::Bounds =
2232            ::core::mem::transmute(__mi.method_ptr);
2233        __inner(this.into(), ::core::option::Option::None)
2234    }
2235
2236    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetCanvasSpaceClippingRect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2237    pub unsafe fn get_canvas_space_clipping_rect(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::rect::Rect {
2238        let __mi = Self::get_canvas_space_clipping_rect_method_info();
2239        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::rect::Rect =
2240            ::core::mem::transmute(__mi.method_ptr);
2241        __inner(this.into(), ::core::option::Option::None)
2242    }
2243
2244    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `get_materialForRendering`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2245    pub unsafe fn get_material_for_rendering(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::material::Material {
2246        let __mi = Self::get_material_for_rendering_method_info();
2247        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::material::Material =
2248            ::core::mem::transmute(__mi.method_ptr);
2249        __inner(this.into(), ::core::option::Option::None)
2250    }
2251
2252    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `get_autoSizeTextContainer`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2253    pub unsafe fn get_auto_size_text_container(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2254        let __mi = Self::get_auto_size_text_container_method_info();
2255        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2256        __inner(this.into(), ::core::option::Option::None)
2257    }
2258
2259    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `set_autoSizeTextContainer`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2260    pub unsafe fn set_auto_size_text_container(this: impl ::core::convert::Into<::unity::IlInstance>, value: bool) -> () {
2261        let __mi = Self::set_auto_size_text_container_method_info();
2262        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2263        __inner(this.into(), value, ::core::option::Option::None)
2264    }
2265
2266    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `get_mesh`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2267    pub unsafe fn get_mesh(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::mesh::Mesh {
2268        let __mi = Self::get_mesh_method_info();
2269        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::mesh::Mesh =
2270            ::core::mem::transmute(__mi.method_ptr);
2271        __inner(this.into(), ::core::option::Option::None)
2272    }
2273
2274    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `CalculateLayoutInputHorizontal`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2275    pub unsafe fn calculate_layout_input_horizontal(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2276        let __mi = Self::calculate_layout_input_horizontal_method_info();
2277        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2278        __inner(this.into(), ::core::option::Option::None)
2279    }
2280
2281    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `CalculateLayoutInputVertical`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2282    pub unsafe fn calculate_layout_input_vertical(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2283        let __mi = Self::calculate_layout_input_vertical_method_info();
2284        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2285        __inner(this.into(), ::core::option::Option::None)
2286    }
2287
2288    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetVerticesDirty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2289    pub unsafe fn set_vertices_dirty(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2290        let __mi = Self::set_vertices_dirty_method_info();
2291        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2292        __inner(this.into(), ::core::option::Option::None)
2293    }
2294
2295    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetLayoutDirty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2296    pub unsafe fn set_layout_dirty(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2297        let __mi = Self::set_layout_dirty_method_info();
2298        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2299        __inner(this.into(), ::core::option::Option::None)
2300    }
2301
2302    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetMaterialDirty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2303    pub unsafe fn set_material_dirty(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2304        let __mi = Self::set_material_dirty_method_info();
2305        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2306        __inner(this.into(), ::core::option::Option::None)
2307    }
2308
2309    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `SetAllDirty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2310    pub unsafe fn set_all_dirty(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2311        let __mi = Self::set_all_dirty_method_info();
2312        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2313        __inner(this.into(), ::core::option::Option::None)
2314    }
2315
2316    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `Rebuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2317    pub unsafe fn rebuild(this: impl ::core::convert::Into<::unity::IlInstance>, update: crate::unity_engine::ui::canvasupdate::CanvasUpdate) -> () {
2318        let __mi = Self::rebuild_method_info();
2319        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::ui::canvasupdate::CanvasUpdate, ::unity::OptionalMethod) -> () =
2320            ::core::mem::transmute(__mi.method_ptr);
2321        __inner(this.into(), update, ::core::option::Option::None)
2322    }
2323
2324    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetModifiedMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2325    pub unsafe fn get_modified_material(
2326        this: impl ::core::convert::Into<::unity::IlInstance>,
2327        base_material: crate::unity_engine::material::Material,
2328    ) -> crate::unity_engine::material::Material {
2329        let __mi = Self::get_modified_material_method_info();
2330        let __inner: extern "C" fn(
2331            ::unity::IlInstance,
2332            crate::unity_engine::material::Material,
2333            ::unity::OptionalMethod,
2334        ) -> crate::unity_engine::material::Material = ::core::mem::transmute(__mi.method_ptr);
2335        __inner(this.into(), base_material, ::core::option::Option::None)
2336    }
2337
2338    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateMaterial`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2339    pub unsafe fn update_material(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2340        let __mi = Self::update_material_method_info();
2341        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2342        __inner(this.into(), ::core::option::Option::None)
2343    }
2344
2345    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `RecalculateClipping`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2346    pub unsafe fn recalculate_clipping(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2347        let __mi = Self::recalculate_clipping_method_info();
2348        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2349        __inner(this.into(), ::core::option::Option::None)
2350    }
2351
2352    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `Cull`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2353    pub unsafe fn cull(this: impl ::core::convert::Into<::unity::IlInstance>, clip_rect: crate::unity_engine::rect::Rect, valid_rect: bool) -> () {
2354        let __mi = Self::cull_method_info();
2355        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::rect::Rect, bool, ::unity::OptionalMethod) -> () =
2356            ::core::mem::transmute(__mi.method_ptr);
2357        __inner(this.into(), clip_rect, valid_rect, ::core::option::Option::None)
2358    }
2359
2360    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateCulling`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2361    pub unsafe fn update_culling(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2362        let __mi = Self::update_culling_method_info();
2363        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2364        __inner(this.into(), ::core::option::Option::None)
2365    }
2366
2367    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateMeshPadding`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2368    pub unsafe fn update_mesh_padding(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2369        let __mi = Self::update_mesh_padding_method_info();
2370        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2371        __inner(this.into(), ::core::option::Option::None)
2372    }
2373
2374    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `InternalCrossFadeColor`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2375    pub unsafe fn internal_cross_fade_color(
2376        this: impl ::core::convert::Into<::unity::IlInstance>,
2377        target_color: crate::unity_engine::color::Color,
2378        duration: f32,
2379        ignore_time_scale: bool,
2380        use_alpha: bool,
2381    ) -> () {
2382        let __mi = Self::internal_cross_fade_color_method_info();
2383        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::color::Color, f32, bool, bool, ::unity::OptionalMethod) -> () =
2384            ::core::mem::transmute(__mi.method_ptr);
2385        __inner(
2386            this.into(),
2387            target_color,
2388            duration,
2389            ignore_time_scale,
2390            use_alpha,
2391            ::core::option::Option::None,
2392        )
2393    }
2394
2395    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `InternalCrossFadeAlpha`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2396    pub unsafe fn internal_cross_fade_alpha(
2397        this: impl ::core::convert::Into<::unity::IlInstance>,
2398        alpha: f32,
2399        duration: f32,
2400        ignore_time_scale: bool,
2401    ) -> () {
2402        let __mi = Self::internal_cross_fade_alpha_method_info();
2403        let __inner: extern "C" fn(::unity::IlInstance, f32, f32, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2404        __inner(this.into(), alpha, duration, ignore_time_scale, ::core::option::Option::None)
2405    }
2406
2407    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `ForceMeshUpdate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2408    pub unsafe fn force_mesh_update(
2409        this: impl ::core::convert::Into<::unity::IlInstance>,
2410        ignore_active_state: bool,
2411        force_text_reparsing: bool,
2412    ) -> () {
2413        let __mi = Self::force_mesh_update_method_info();
2414        let __inner: extern "C" fn(::unity::IlInstance, bool, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2415        __inner(this.into(), ignore_active_state, force_text_reparsing, ::core::option::Option::None)
2416    }
2417
2418    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `GetTextInfo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2419    pub unsafe fn get_text_info(
2420        this: impl ::core::convert::Into<::unity::IlInstance>,
2421        text: ::unity::Il2CppString,
2422    ) -> crate::tm_pro::tmp_textinfo::TMP_TextInfo {
2423        let __mi = Self::get_text_info_method_info();
2424        let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> crate::tm_pro::tmp_textinfo::TMP_TextInfo =
2425            ::core::mem::transmute(__mi.method_ptr);
2426        __inner(this.into(), text, ::core::option::Option::None)
2427    }
2428
2429    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `ClearMesh`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2430    pub unsafe fn clear_mesh(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2431        let __mi = Self::clear_mesh_method_info();
2432        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2433        __inner(this.into(), ::core::option::Option::None)
2434    }
2435
2436    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `add_OnPreRenderText`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2437    pub unsafe fn add_on_pre_render_text(
2438        this: impl ::core::convert::Into<::unity::IlInstance>,
2439        value: crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
2440    ) -> () {
2441        let __mi = Self::add_on_pre_render_text_method_info();
2442        let __inner: extern "C" fn(
2443            ::unity::IlInstance,
2444            crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
2445            ::unity::OptionalMethod,
2446        ) -> () = ::core::mem::transmute(__mi.method_ptr);
2447        __inner(this.into(), value, ::core::option::Option::None)
2448    }
2449
2450    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `remove_OnPreRenderText`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2451    pub unsafe fn remove_on_pre_render_text(
2452        this: impl ::core::convert::Into<::unity::IlInstance>,
2453        value: crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
2454    ) -> () {
2455        let __mi = Self::remove_on_pre_render_text_method_info();
2456        let __inner: extern "C" fn(
2457            ::unity::IlInstance,
2458            crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>,
2459            ::unity::OptionalMethod,
2460        ) -> () = ::core::mem::transmute(__mi.method_ptr);
2461        __inner(this.into(), value, ::core::option::Option::None)
2462    }
2463
2464    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateGeometry`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2465    pub unsafe fn update_geometry(this: impl ::core::convert::Into<::unity::IlInstance>, mesh: crate::unity_engine::mesh::Mesh, index: i32) -> () {
2466        let __mi = Self::update_geometry_method_info();
2467        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::mesh::Mesh, i32, ::unity::OptionalMethod) -> () =
2468            ::core::mem::transmute(__mi.method_ptr);
2469        __inner(this.into(), mesh, index, ::core::option::Option::None)
2470    }
2471
2472    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateVertexData`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2473    pub unsafe fn update_vertex_data(
2474        this: impl ::core::convert::Into<::unity::IlInstance>,
2475        flags: crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags,
2476    ) -> () {
2477        let __mi = Self::update_vertex_data_method_info();
2478        let __inner: extern "C" fn(
2479            ::unity::IlInstance,
2480            crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags,
2481            ::unity::OptionalMethod,
2482        ) -> () = ::core::mem::transmute(__mi.method_ptr);
2483        __inner(this.into(), flags, ::core::option::Option::None)
2484    }
2485
2486    #[doc = "Direct (non-virtual) call to `TextMeshProUGUI`'s own `UpdateVertexData`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2487    pub unsafe fn update_vertex_data_2(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2488        let __mi = Self::update_vertex_data_2_method_info();
2489        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2490        __inner(this.into(), ::core::option::Option::None)
2491    }
2492}
2493
2494#[cfg(feature = "tm_pro-textmeshprougui")]
2495impl TextMeshProUGUI {
2496    #[doc = "`.ctor()` — no args"]
2497    pub fn new() -> Self {
2498        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2499            panic!(
2500                "{}
2501::{}
2502 failed to instantiate",
2503                ::core::stringify!(TextMeshProUGUI),
2504                ::core::stringify!(new),
2505            )
2506        });
2507        <Self as ITextMeshProUGUIMethods>::ctor(this);
2508        this
2509    }
2510}
2511
2512#[cfg(feature = "tm_pro-textmeshprougui")]
2513#[doc(hidden)]
2514pub mod prelude {
2515    pub use super::{ITextMeshProUGUI, ITextMeshProUGUIMethods, TextMeshProUGUI};
2516    #[cfg(feature = "system-object")]
2517    pub use crate::system::object::IObjectMethods;
2518    #[cfg(feature = "tm_pro-tmp_text")]
2519    pub use crate::tm_pro::tmp_text::ITMP_TextMethods;
2520    #[cfg(feature = "unity_engine-behaviour")]
2521    pub use crate::unity_engine::behaviour::IBehaviourMethods;
2522    #[cfg(feature = "unity_engine-component")]
2523    pub use crate::unity_engine::component::IComponentMethods;
2524    #[cfg(feature = "unity_engine-event_systems-uibehaviour")]
2525    pub use crate::unity_engine::event_systems::uibehaviour::IUIBehaviourMethods;
2526    #[cfg(feature = "unity_engine-monobehaviour")]
2527    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
2528    #[cfg(feature = "unity_engine-object_2")]
2529    pub use crate::unity_engine::object_2::IObject_2Methods;
2530    #[cfg(feature = "unity_engine-ui-graphic")]
2531    pub use crate::unity_engine::ui::graphic::IGraphicMethods;
2532    #[cfg(feature = "unity_engine-ui-maskablegraphic")]
2533    pub use crate::unity_engine::ui::maskablegraphic::IMaskableGraphicMethods;
2534    pub use crate::{
2535        system::object::IObject,
2536        tm_pro::tmp_text::ITMP_Text,
2537        unity_engine::{
2538            behaviour::IBehaviour,
2539            component::IComponent,
2540            event_systems::uibehaviour::IUIBehaviour,
2541            monobehaviour::IMonoBehaviour,
2542            object_2::IObject_2,
2543            ui::{graphic::IGraphic, maskablegraphic::IMaskableGraphic},
2544        },
2545    };
2546}