Skip to main content

engage/generated/app/
textmeshanimation.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-textmeshanimation-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::{
10            object::{IObject, Object},
11            r#enum::{Enum, IEnum},
12            valuetype::{IValueType, ValueType},
13        },
14        unity_engine::{
15            behaviour::{Behaviour, IBehaviour},
16            component::{Component, IComponent},
17            monobehaviour::{IMonoBehaviour, MonoBehaviour},
18            object_2::{IObject_2, Object_2},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/textmeshanimation/TextMeshAnimation_EndType.md"))]
23    #[repr(C)]
24    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25    pub struct TextMeshAnimation_EndType {
26        pub value: i32,
27    }
28    impl ::unity::ClassIdentity for TextMeshAnimation_EndType {
29        const NAME: &'static str = "TextMeshAnimation.EndType";
30        const NAMESPACE: &'static str = "App";
31
32        fn class() -> ::unity::Class {
33            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35        }
36    }
37    impl ::unity::IlType for TextMeshAnimation_EndType {
38        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40        }
41    }
42    impl TextMeshAnimation_EndType {
43        pub fn r#loop() -> Self {
44            Self { value: 0 }
45        }
46
47        pub fn to_next() -> Self {
48            Self { value: 1 }
49        }
50
51        pub fn wait() -> Self {
52            Self { value: 2 }
53        }
54
55        pub fn hide() -> Self {
56            Self { value: 3 }
57        }
58
59        pub fn delete() -> Self {
60            Self { value: 4 }
61        }
62    }
63
64    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/textmeshanimation/TextMeshAnimation.md"))]
65    #[::unity::class(namespace = "App", name = "TextMeshAnimation")]
66    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
67    pub struct TextMeshAnimation {
68        #[offset(24)]
69        #[rename(name = "Params")]
70        pub params: ::unity::Array<crate::app::textmeshanimation::TextMeshAnimation_AnimationParams>,
71        #[offset(32)]
72        #[rename(name = "m_TextComponent")]
73        pub m_text_component: crate::tm_pro::tmp_text::TMP_Text,
74        #[offset(40)]
75        #[rename(name = "m_IsAnimation")]
76        pub m_is_animation: bool,
77        #[offset(41)]
78        #[rename(name = "m_IsFirstFrame")]
79        pub m_is_first_frame: bool,
80        #[offset(44)]
81        #[rename(name = "m_NowAnimationIndex")]
82        pub m_now_animation_index: i32,
83        #[offset(48)]
84        #[rename(name = "m_NowTime")]
85        pub m_now_time: f32,
86    }
87
88    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/textmeshanimation/TextMeshAnimation_PivotType.md"))]
89    #[repr(C)]
90    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
91    pub struct TextMeshAnimation_PivotType {
92        pub value: i32,
93    }
94    impl ::unity::ClassIdentity for TextMeshAnimation_PivotType {
95        const NAME: &'static str = "TextMeshAnimation.PivotType";
96        const NAMESPACE: &'static str = "App";
97
98        fn class() -> ::unity::Class {
99            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
100            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
101        }
102    }
103    impl ::unity::IlType for TextMeshAnimation_PivotType {
104        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
105            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
106        }
107    }
108    impl TextMeshAnimation_PivotType {
109        pub fn center() -> Self {
110            Self { value: 0 }
111        }
112
113        pub fn base_line() -> Self {
114            Self { value: 1 }
115        }
116    }
117
118    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/textmeshanimation/TextMeshAnimation_AnimationParams.md"))]
119    #[::unity::class(namespace = "App", name = "TextMeshAnimation.AnimationParams")]
120    #[parent(crate::system::object::Object)]
121    pub struct TextMeshAnimation_AnimationParams {
122        #[offset(16)]
123        #[rename(name = "OffsetCurveX")]
124        pub offset_curve_x: crate::unity_engine::animationcurve::AnimationCurve,
125        #[offset(24)]
126        #[rename(name = "OffsetCurveY")]
127        pub offset_curve_y: crate::unity_engine::animationcurve::AnimationCurve,
128        #[offset(32)]
129        #[rename(name = "RotationCurve")]
130        pub rotation_curve: crate::unity_engine::animationcurve::AnimationCurve,
131        #[offset(40)]
132        #[rename(name = "ScaleCurveX")]
133        pub scale_curve_x: crate::unity_engine::animationcurve::AnimationCurve,
134        #[offset(48)]
135        #[rename(name = "ScaleCurveY")]
136        pub scale_curve_y: crate::unity_engine::animationcurve::AnimationCurve,
137        #[offset(56)]
138        #[rename(name = "RedCurve")]
139        pub red_curve: crate::unity_engine::animationcurve::AnimationCurve,
140        #[offset(64)]
141        #[rename(name = "GreenCurve")]
142        pub green_curve: crate::unity_engine::animationcurve::AnimationCurve,
143        #[offset(72)]
144        #[rename(name = "BlueCurve")]
145        pub blue_curve: crate::unity_engine::animationcurve::AnimationCurve,
146        #[offset(80)]
147        #[rename(name = "AlphaCurve")]
148        pub alpha_curve: crate::unity_engine::animationcurve::AnimationCurve,
149        #[offset(88)]
150        #[rename(name = "m_PivotType")]
151        pub m_pivot_type: crate::app::textmeshanimation::TextMeshAnimation_PivotType,
152        #[offset(92)]
153        #[rename(name = "m_DelayTime")]
154        pub m_delay_time: f32,
155        #[offset(96)]
156        #[rename(name = "m_DelayTimeType")]
157        pub m_delay_time_type: crate::app::textmeshanimation::TextMeshAnimation_DelayTimeType,
158        #[offset(100)]
159        #[rename(name = "m_EndType")]
160        pub m_end_type: crate::app::textmeshanimation::TextMeshAnimation_EndType,
161        #[offset(104)]
162        #[rename(name = "m_StartFromRight")]
163        pub m_start_from_right: bool,
164        #[offset(108)]
165        #[rename(name = "m_MaxIntervalTime")]
166        pub m_max_interval_time: f32,
167        #[offset(112)]
168        #[rename(name = "m_EndTime")]
169        pub m_end_time: f32,
170    }
171
172    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/textmeshanimation/TextMeshAnimation_DelayTimeType.md"))]
173    #[repr(C)]
174    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
175    pub struct TextMeshAnimation_DelayTimeType {
176        pub value: i32,
177    }
178    impl ::unity::ClassIdentity for TextMeshAnimation_DelayTimeType {
179        const NAME: &'static str = "TextMeshAnimation.DelayTimeType";
180        const NAMESPACE: &'static str = "App";
181
182        fn class() -> ::unity::Class {
183            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
184            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
185        }
186    }
187    impl ::unity::IlType for TextMeshAnimation_DelayTimeType {
188        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
189            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
190        }
191    }
192    impl TextMeshAnimation_DelayTimeType {
193        pub fn interval() -> Self {
194            Self { value: 0 }
195        }
196
197        pub fn total() -> Self {
198            Self { value: 1 }
199        }
200    }
201}
202
203#[cfg(feature = "app-textmeshanimation-types")]
204pub use __types::*;
205
206#[cfg(feature = "app-textmeshanimation")]
207impl TextMeshAnimation {
208    #[doc = "`SetAsUnscaledInChildren(crate::unity_engine::transform::Transform, bool)` overload"]
209    pub fn set_as_unscaled_in_children(
210        root: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
211        v: impl ::core::convert::Into<bool>,
212    ) -> () {
213        unsafe {
214            ::unity::il2cpp_call!((::unity::module_base()+0x21e9e10usize)as*mut u8,();
215(crate::unity_engine::transform::Transform)::core::convert::Into::into(root),(bool)::core::convert::Into::into(v))
216        }
217    }
218}
219
220#[cfg(feature = "app-textmeshanimation")]
221pub trait ITextMeshAnimationMethods: ITextMeshAnimation {
222    #[doc = "`get_isUnscaledDeltaTime()` overload"]
223    fn get_is_unscaled_delta_time(self) -> bool {
224        unsafe {
225            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226            ::unity::il2cpp_call!((::unity::module_base()+0x21e8f90usize)as*mut u8,bool;
227(TextMeshAnimation)__receiver)
228        }
229    }
230    #[doc = "`set_isUnscaledDeltaTime(bool)` overload"]
231    fn set_is_unscaled_delta_time(self, value: impl ::core::convert::Into<bool>) -> () {
232        unsafe {
233            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234            ::unity::il2cpp_call!((::unity::module_base()+0x21e8fa0usize)as*mut u8,();
235(TextMeshAnimation)__receiver,(bool)::core::convert::Into::into(value))
236        }
237    }
238    #[doc = "`Awake()` overload"]
239    fn awake(self) -> () {
240        unsafe {
241            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242            ::unity::il2cpp_call!((::unity::module_base()+0x21e8fb0usize)as*mut u8,();
243(TextMeshAnimation)__receiver)
244        }
245    }
246    #[doc = "`Update()` overload"]
247    fn update(self) -> () {
248        unsafe {
249            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250            ::unity::il2cpp_call!((::unity::module_base()+0x21e9120usize)as*mut u8,();
251(TextMeshAnimation)__receiver)
252        }
253    }
254    #[doc = "`AnimationText()` overload"]
255    fn animation_text(self) -> () {
256        unsafe {
257            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258            ::unity::il2cpp_call!((::unity::module_base()+0x21e91f0usize)as*mut u8,();
259(TextMeshAnimation)__receiver)
260        }
261    }
262    #[doc = "`SetText(::unity::Il2CppString)` overload"]
263    fn set_text(self, text: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
264        unsafe {
265            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266            ::unity::il2cpp_call!((::unity::module_base()+0x21e9bb0usize)as*mut u8,();
267(TextMeshAnimation)__receiver,(::unity::Il2CppString)::core::convert::Into::into(text))
268        }
269    }
270    #[doc = "`Restart()` overload"]
271    fn restart(self) -> () {
272        unsafe {
273            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
274            ::unity::il2cpp_call!((::unity::module_base()+0x21e9c60usize)as*mut u8,();
275(TextMeshAnimation)__receiver)
276        }
277    }
278    #[doc = "`StartAnimation()` overload"]
279    fn start_animation(self) -> () {
280        unsafe {
281            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282            ::unity::il2cpp_call!((::unity::module_base()+0x21e9ca0usize)as*mut u8,();
283(TextMeshAnimation)__receiver)
284        }
285    }
286    #[doc = "`Skip()` overload"]
287    fn skip(self) -> () {
288        unsafe {
289            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
290            ::unity::il2cpp_call!((::unity::module_base()+0x21e9d90usize)as*mut u8,();
291(TextMeshAnimation)__receiver)
292        }
293    }
294    #[doc = "`StartAnimation(i32)` overload"]
295    fn start_animation_2(self, index: impl ::core::convert::Into<i32>) -> () {
296        unsafe {
297            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
298            ::unity::il2cpp_call!((::unity::module_base()+0x21e9cb0usize)as*mut u8,();
299(TextMeshAnimation)__receiver,(i32)::core::convert::Into::into(index))
300        }
301    }
302    #[doc = "`ToNextAnimation()` overload"]
303    fn to_next_animation(self) -> () {
304        unsafe {
305            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306            ::unity::il2cpp_call!((::unity::module_base()+0x21e9b90usize)as*mut u8,();
307(TextMeshAnimation)__receiver)
308        }
309    }
310    #[doc = "`.ctor()` overload"]
311    fn ctor(self) -> () {
312        unsafe {
313            let __receiver = <TextMeshAnimation as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314            ::unity::il2cpp_call!((::unity::module_base()+0x21e9ec0usize)as*mut u8,();
315(TextMeshAnimation)__receiver)
316        }
317    }
318}
319
320#[cfg(feature = "app-textmeshanimation")]
321impl<__T: ITextMeshAnimation> ITextMeshAnimationMethods for __T {}
322
323#[cfg(feature = "app-textmeshanimation")]
324impl TextMeshAnimation {
325    pub fn get_is_unscaled_delta_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
327    }
328
329    pub fn set_is_unscaled_delta_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
331    }
332
333    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
335    }
336
337    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
339    }
340
341    pub fn animation_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
343    }
344
345    pub fn set_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
347    }
348
349    pub fn restart_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
351    }
352
353    pub fn start_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
355    }
356
357    pub fn skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
359    }
360
361    pub fn start_animation_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
363    }
364
365    pub fn to_next_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
367    }
368
369    pub fn set_as_unscaled_in_children_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
371    }
372
373    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
375    }
376}
377
378#[cfg(feature = "app-textmeshanimation")]
379impl TextMeshAnimation {
380    #[doc = "`.ctor()` — no args"]
381    pub fn new() -> Self {
382        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
383            panic!(
384                "{}
385::{}
386 failed to instantiate",
387                ::core::stringify!(TextMeshAnimation),
388                ::core::stringify!(new),
389            )
390        });
391        <Self as ITextMeshAnimationMethods>::ctor(this);
392        this
393    }
394}
395
396#[cfg(feature = "app-textmeshanimation")]
397pub trait ITextMeshAnimation_AnimationParamsMethods: ITextMeshAnimation_AnimationParams {
398    #[doc = "`GetDelayTime(i32)` overload"]
399    fn get_delay_time(self, character_count: impl ::core::convert::Into<i32>) -> f32 {
400        unsafe {
401            let __receiver =
402                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403            ::unity::il2cpp_call!((::unity::module_base()+0x22044c0usize)as*mut u8,f32;
404(TextMeshAnimation_AnimationParams)__receiver,(i32)::core::convert::Into::into(character_count))
405        }
406    }
407    #[doc = "`CalcEndTime()` overload"]
408    fn calc_end_time(self) -> () {
409        unsafe {
410            let __receiver =
411                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412            ::unity::il2cpp_call!((::unity::module_base()+0x22044f0usize)as*mut u8,();
413(TextMeshAnimation_AnimationParams)__receiver)
414        }
415    }
416    #[doc = "`IsEnd(f32)` overload"]
417    fn is_end(self, time: impl ::core::convert::Into<f32>) -> bool {
418        unsafe {
419            let __receiver =
420                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421            ::unity::il2cpp_call!((::unity::module_base()+0x2204820usize)as*mut u8,bool;
422(TextMeshAnimation_AnimationParams)__receiver,(f32)::core::convert::Into::into(time))
423        }
424    }
425    #[doc = "`SetWrapMode(crate::unity_engine::wrapmode::WrapMode)` overload"]
426    fn set_wrap_mode(self, mode: impl ::core::convert::Into<crate::unity_engine::wrapmode::WrapMode>) -> () {
427        unsafe {
428            let __receiver =
429                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x2204830usize)as*mut u8,();
431(TextMeshAnimation_AnimationParams)__receiver,(crate::unity_engine::wrapmode::WrapMode)::core::convert::Into::into(mode))
432        }
433    }
434    #[doc = "`ExpandAnimation(f32)` overload"]
435    fn expand_animation(self, ratio: impl ::core::convert::Into<f32>) -> () {
436        unsafe {
437            let __receiver =
438                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439            ::unity::il2cpp_call!((::unity::module_base()+0x2204970usize)as*mut u8,();
440(TextMeshAnimation_AnimationParams)__receiver,(f32)::core::convert::Into::into(ratio))
441        }
442    }
443    #[doc = "`get_EndTime()` overload"]
444    fn get_end_time(self) -> f32 {
445        unsafe {
446            let __receiver =
447                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448            ::unity::il2cpp_call!((::unity::module_base()+0x2204ac0usize)as*mut u8,f32;
449(TextMeshAnimation_AnimationParams)__receiver)
450        }
451    }
452    #[doc = "`GetAnimationList()` overload"]
453    fn get_animation_list(self) -> ::unity::Array<crate::unity_engine::animationcurve::AnimationCurve> {
454        unsafe {
455            let __receiver =
456                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457            ::unity::il2cpp_call!((::unity::module_base()+0x22045b0usize)as*mut u8, ::unity::Array<crate::unity_engine::animationcurve::AnimationCurve> ;
458(TextMeshAnimation_AnimationParams)__receiver)
459        }
460    }
461    #[doc = "`.ctor()` overload"]
462    fn ctor(self) -> () {
463        unsafe {
464            let __receiver =
465                <TextMeshAnimation_AnimationParams as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466            ::unity::il2cpp_call!((::unity::module_base()+0x2204ad0usize)as*mut u8,();
467(TextMeshAnimation_AnimationParams)__receiver)
468        }
469    }
470}
471
472#[cfg(feature = "app-textmeshanimation")]
473impl<__T: ITextMeshAnimation_AnimationParams> ITextMeshAnimation_AnimationParamsMethods for __T {}
474
475#[cfg(feature = "app-textmeshanimation")]
476impl TextMeshAnimation_AnimationParams {
477    pub fn get_delay_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
479    }
480
481    pub fn calc_end_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
483    }
484
485    pub fn is_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
487    }
488
489    pub fn set_wrap_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
491    }
492
493    pub fn expand_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
495    }
496
497    pub fn get_end_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
499    }
500
501    pub fn get_animation_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
503    }
504
505    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
507    }
508}
509
510#[cfg(feature = "app-textmeshanimation")]
511impl TextMeshAnimation_AnimationParams {
512    #[doc = "`.ctor()` — no args"]
513    pub fn new() -> Self {
514        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
515            panic!(
516                "{}
517::{}
518 failed to instantiate",
519                ::core::stringify!(TextMeshAnimation_AnimationParams),
520                ::core::stringify!(new),
521            )
522        });
523        <Self as ITextMeshAnimation_AnimationParamsMethods>::ctor(this);
524        this
525    }
526}
527
528#[cfg(feature = "app-textmeshanimation")]
529#[doc(hidden)]
530pub mod prelude {
531    pub use super::{
532        ITextMeshAnimation, ITextMeshAnimationMethods, ITextMeshAnimation_AnimationParams, ITextMeshAnimation_AnimationParamsMethods,
533        TextMeshAnimation, TextMeshAnimation_AnimationParams, TextMeshAnimation_DelayTimeType, TextMeshAnimation_EndType,
534        TextMeshAnimation_PivotType,
535    };
536    #[cfg(feature = "system-object")]
537    pub use crate::system::object::IObjectMethods;
538    #[cfg(feature = "system-enum")]
539    pub use crate::system::r#enum::IEnumMethods;
540    #[cfg(feature = "system-valuetype")]
541    pub use crate::system::valuetype::IValueTypeMethods;
542    #[cfg(feature = "unity_engine-behaviour")]
543    pub use crate::unity_engine::behaviour::IBehaviourMethods;
544    #[cfg(feature = "unity_engine-component")]
545    pub use crate::unity_engine::component::IComponentMethods;
546    #[cfg(feature = "unity_engine-monobehaviour")]
547    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
548    #[cfg(feature = "unity_engine-object_2")]
549    pub use crate::unity_engine::object_2::IObject_2Methods;
550    pub use crate::{
551        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
552        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
553    };
554}