Skip to main content

engage/generated/tm_pro/
textmeshpro.rs

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