Skip to main content

engage/generated/root_motion/final_ik/
ragdollutility.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root_motion-final_ik-ragdollutility-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/ragdollutility/RagdollUtility.md"))]
19    #[::unity::class(namespace = "RootMotion.FinalIK", name = "RagdollUtility")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct RagdollUtility {
22        #[offset(24)]
23        #[rename(name = "ik")]
24        pub ik: crate::root_motion::final_ik::ik::IK,
25        #[offset(32)]
26        #[rename(name = "ragdollToAnimationTime")]
27        pub ragdoll_to_animation_time: f32,
28        #[offset(36)]
29        #[rename(name = "applyIkOnRagdoll")]
30        pub apply_ik_on_ragdoll: bool,
31        #[offset(40)]
32        #[rename(name = "applyVelocity")]
33        pub apply_velocity: f32,
34        #[offset(44)]
35        #[rename(name = "applyAngularVelocity")]
36        pub apply_angular_velocity: f32,
37        #[offset(48)]
38        #[rename(name = "animator")]
39        pub animator: crate::unity_engine::animator::Animator,
40        #[offset(56)]
41        #[rename(name = "rigidbones")]
42        pub rigidbones: ::unity::Array<crate::root_motion::final_ik::ragdollutility::RagdollUtility_Rigidbone>,
43        #[offset(64)]
44        #[rename(name = "children")]
45        pub children: ::unity::Array<crate::root_motion::final_ik::ragdollutility::RagdollUtility_Child>,
46        #[offset(72)]
47        #[rename(name = "enableRagdollFlag")]
48        pub enable_ragdoll_flag: bool,
49        #[offset(76)]
50        #[rename(name = "animatorUpdateMode")]
51        pub animator_update_mode: crate::unity_engine::animatorupdatemode::AnimatorUpdateMode,
52        #[offset(80)]
53        #[rename(name = "allIKComponents")]
54        pub all_ik_components: ::unity::Array<crate::root_motion::final_ik::ik::IK>,
55        #[offset(88)]
56        #[rename(name = "fixTransforms")]
57        pub fix_transforms_field: ::unity::Array<bool>,
58        #[offset(96)]
59        #[rename(name = "ragdollWeight")]
60        pub ragdoll_weight: f32,
61        #[offset(100)]
62        #[rename(name = "ragdollWeightV")]
63        pub ragdoll_weight_v: f32,
64        #[offset(104)]
65        #[rename(name = "fixedFrame")]
66        pub fixed_frame: bool,
67        #[offset(112)]
68        #[rename(name = "disabledIKComponents")]
69        pub disabled_ik_components: ::unity::Array<bool>,
70    }
71
72    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/ragdollutility/RagdollUtility_Child.md"))]
73    #[::unity::class(namespace = "RootMotion.FinalIK", name = "RagdollUtility.Child")]
74    #[parent(crate::system::object::Object)]
75    pub struct RagdollUtility_Child {
76        #[offset(16)]
77        #[rename(name = "t")]
78        pub t: crate::unity_engine::transform::Transform,
79        #[offset(24)]
80        #[rename(name = "localPosition")]
81        pub local_position: crate::unity_engine::vector3::Vector3,
82        #[offset(36)]
83        #[rename(name = "localRotation")]
84        pub local_rotation: crate::unity_engine::quaternion::Quaternion,
85    }
86
87    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/ragdollutility/RagdollUtility_Rigidbone.md"))]
88    #[::unity::class(namespace = "RootMotion.FinalIK", name = "RagdollUtility.Rigidbone")]
89    #[parent(crate::system::object::Object)]
90    pub struct RagdollUtility_Rigidbone {
91        #[offset(16)]
92        #[rename(name = "r")]
93        pub r: crate::unity_engine::rigidbody::Rigidbody,
94        #[offset(24)]
95        #[rename(name = "t")]
96        pub t: crate::unity_engine::transform::Transform,
97        #[offset(32)]
98        #[rename(name = "collider")]
99        pub collider: crate::unity_engine::collider::Collider,
100        #[offset(40)]
101        #[rename(name = "joint")]
102        pub joint: crate::unity_engine::joint::Joint,
103        #[offset(48)]
104        #[rename(name = "c")]
105        pub c: crate::unity_engine::rigidbody::Rigidbody,
106        #[offset(56)]
107        #[rename(name = "updateAnchor")]
108        pub update_anchor: bool,
109        #[offset(60)]
110        #[rename(name = "deltaPosition")]
111        pub delta_position: crate::unity_engine::vector3::Vector3,
112        #[offset(72)]
113        #[rename(name = "deltaRotation")]
114        pub delta_rotation: crate::unity_engine::quaternion::Quaternion,
115        #[offset(88)]
116        #[rename(name = "deltaTime")]
117        pub delta_time: f32,
118        #[offset(92)]
119        #[rename(name = "lastPosition")]
120        pub last_position: crate::unity_engine::vector3::Vector3,
121        #[offset(104)]
122        #[rename(name = "lastRotation")]
123        pub last_rotation: crate::unity_engine::quaternion::Quaternion,
124    }
125}
126
127#[cfg(feature = "root_motion-final_ik-ragdollutility-types")]
128pub use __types::*;
129
130#[cfg(feature = "root_motion-final_ik-ragdollutility")]
131pub trait IRagdollUtilityMethods: IRagdollUtility {
132    #[doc = "`EnableRagdoll()` overload"]
133    fn enable_ragdoll(self) -> () {
134        unsafe {
135            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x2372b70usize)as*mut u8,();
137(RagdollUtility)__receiver)
138        }
139    }
140    #[doc = "`DisableRagdoll()` overload"]
141    fn disable_ragdoll(self) -> () {
142        unsafe {
143            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144            ::unity::il2cpp_call!((::unity::module_base()+0x2372c50usize)as*mut u8,();
145(RagdollUtility)__receiver)
146        }
147    }
148    #[doc = "`Start()` overload"]
149    fn start(self) -> () {
150        unsafe {
151            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x2372e60usize)as*mut u8,();
153(RagdollUtility)__receiver)
154        }
155    }
156    #[doc = "`DisableRagdollSmooth()` overload"]
157    fn disable_ragdoll_smooth(self) -> crate::system::collections::ienumerator::IEnumerator {
158        unsafe {
159            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x2372de0usize)as*mut u8,crate::system::collections::ienumerator::IEnumerator;
161(RagdollUtility)__receiver)
162        }
163    }
164    #[doc = "`Update()` overload"]
165    fn update(self) -> () {
166        unsafe {
167            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            ::unity::il2cpp_call!((::unity::module_base()+0x23732d0usize)as*mut u8,();
169(RagdollUtility)__receiver)
170        }
171    }
172    #[doc = "`FixedUpdate()` overload"]
173    fn fixed_update(self) -> () {
174        unsafe {
175            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176            ::unity::il2cpp_call!((::unity::module_base()+0x2373510usize)as*mut u8,();
177(RagdollUtility)__receiver)
178        }
179    }
180    #[doc = "`LateUpdate()` overload"]
181    fn late_update(self) -> () {
182        unsafe {
183            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184            ::unity::il2cpp_call!((::unity::module_base()+0x2373650usize)as*mut u8,();
185(RagdollUtility)__receiver)
186        }
187    }
188    #[doc = "`AfterLastIK()` overload"]
189    fn after_last_ik(self) -> () {
190        unsafe {
191            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x23739d0usize)as*mut u8,();
193(RagdollUtility)__receiver)
194        }
195    }
196    #[doc = "`AfterAnimation()` overload"]
197    fn after_animation(self) -> () {
198        unsafe {
199            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            ::unity::il2cpp_call!((::unity::module_base()+0x23736d0usize)as*mut u8,();
201(RagdollUtility)__receiver)
202        }
203    }
204    #[doc = "`OnFinalPose()` overload"]
205    fn on_final_pose(self) -> () {
206        unsafe {
207            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208            ::unity::il2cpp_call!((::unity::module_base()+0x2373910usize)as*mut u8,();
209(RagdollUtility)__receiver)
210        }
211    }
212    #[doc = "`RagdollEnabler()` overload"]
213    fn ragdoll_enabler(self) -> () {
214        unsafe {
215            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216            ::unity::il2cpp_call!((::unity::module_base()+0x2373a80usize)as*mut u8,();
217(RagdollUtility)__receiver)
218        }
219    }
220    #[doc = "`get_isRagdoll()` overload"]
221    fn get_is_ragdoll(self) -> bool {
222        unsafe {
223            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224            ::unity::il2cpp_call!((::unity::module_base()+0x2372be0usize)as*mut u8,bool;
225(RagdollUtility)__receiver)
226        }
227    }
228    #[doc = "`RecordVelocities()` overload"]
229    fn record_velocities(self) -> () {
230        unsafe {
231            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232            ::unity::il2cpp_call!((::unity::module_base()+0x2373a10usize)as*mut u8,();
233(RagdollUtility)__receiver)
234        }
235    }
236    #[doc = "`get_ikUsed()` overload"]
237    fn get_ik_used(self) -> bool {
238        unsafe {
239            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240            ::unity::il2cpp_call!((::unity::module_base()+0x23737d0usize)as*mut u8,bool;
241(RagdollUtility)__receiver)
242        }
243    }
244    #[doc = "`StoreLocalState()` overload"]
245    fn store_local_state(self) -> () {
246        unsafe {
247            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248            ::unity::il2cpp_call!((::unity::module_base()+0x2372d70usize)as*mut u8,();
249(RagdollUtility)__receiver)
250        }
251    }
252    #[doc = "`FixTransforms(f32)` overload"]
253    fn fix_transforms(self, weight: impl ::core::convert::Into<f32>) -> () {
254        unsafe {
255            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256            ::unity::il2cpp_call!((::unity::module_base()+0x23735d0usize)as*mut u8,();
257(RagdollUtility)__receiver,(f32)::core::convert::Into::into(weight))
258        }
259    }
260    #[doc = "`OnDestroy()` overload"]
261    fn on_destroy(self) -> () {
262        unsafe {
263            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264            ::unity::il2cpp_call!((::unity::module_base()+0x2373cd0usize)as*mut u8,();
265(RagdollUtility)__receiver)
266        }
267    }
268    #[doc = "`.ctor()` overload"]
269    fn ctor(self) -> () {
270        unsafe {
271            let __receiver = <RagdollUtility as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272            ::unity::il2cpp_call!((::unity::module_base()+0x2372a30usize)as*mut u8,();
273(RagdollUtility)__receiver)
274        }
275    }
276}
277
278#[cfg(feature = "root_motion-final_ik-ragdollutility")]
279impl<__T: IRagdollUtility> IRagdollUtilityMethods for __T {}
280
281#[cfg(feature = "root_motion-final_ik-ragdollutility")]
282impl RagdollUtility {
283    pub fn enable_ragdoll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
285    }
286
287    pub fn disable_ragdoll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
289    }
290
291    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
293    }
294
295    pub fn disable_ragdoll_smooth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
297    }
298
299    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
301    }
302
303    pub fn fixed_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
305    }
306
307    pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
309    }
310
311    pub fn after_last_ik_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
313    }
314
315    pub fn after_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
317    }
318
319    pub fn on_final_pose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
321    }
322
323    pub fn ragdoll_enabler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
325    }
326
327    pub fn get_is_ragdoll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
329    }
330
331    pub fn record_velocities_method_info() -> &'static ::unity::il2cpp::MethodInfo {
332        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
333    }
334
335    pub fn get_ik_used_method_info() -> &'static ::unity::il2cpp::MethodInfo {
336        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
337    }
338
339    pub fn store_local_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
340        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
341    }
342
343    pub fn fix_transforms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
344        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
345    }
346
347    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
348        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
349    }
350
351    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
353    }
354}
355
356#[cfg(feature = "root_motion-final_ik-ragdollutility")]
357impl RagdollUtility {
358    #[doc = "`.ctor()` — no args"]
359    pub fn new() -> Self {
360        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
361            panic!(
362                "{}
363::{}
364 failed to instantiate",
365                ::core::stringify!(RagdollUtility),
366                ::core::stringify!(new),
367            )
368        });
369        <Self as IRagdollUtilityMethods>::ctor(this);
370        this
371    }
372}
373
374#[cfg(feature = "root_motion-final_ik-ragdollutility")]
375pub trait IRagdollUtility_ChildMethods: IRagdollUtility_Child {
376    #[doc = "`.ctor(crate::unity_engine::transform::Transform)` overload"]
377    fn ctor(self, transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>) -> () {
378        unsafe {
379            let __receiver = <RagdollUtility_Child as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380            ::unity::il2cpp_call!((::unity::module_base()+0x1af1390usize)as*mut u8,();
381(RagdollUtility_Child)__receiver,(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform))
382        }
383    }
384    #[doc = "`FixTransform(f32)` overload"]
385    fn fix_transform(self, weight: impl ::core::convert::Into<f32>) -> () {
386        unsafe {
387            let __receiver = <RagdollUtility_Child as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388            ::unity::il2cpp_call!((::unity::module_base()+0x1af1400usize)as*mut u8,();
389(RagdollUtility_Child)__receiver,(f32)::core::convert::Into::into(weight))
390        }
391    }
392    #[doc = "`StoreLocalState()` overload"]
393    fn store_local_state(self) -> () {
394        unsafe {
395            let __receiver = <RagdollUtility_Child as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396            ::unity::il2cpp_call!((::unity::module_base()+0x1af1520usize)as*mut u8,();
397(RagdollUtility_Child)__receiver)
398        }
399    }
400}
401
402#[cfg(feature = "root_motion-final_ik-ragdollutility")]
403impl<__T: IRagdollUtility_Child> IRagdollUtility_ChildMethods for __T {}
404
405#[cfg(feature = "root_motion-final_ik-ragdollutility")]
406impl RagdollUtility_Child {
407    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
409    }
410
411    pub fn fix_transform_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
413    }
414
415    pub fn store_local_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
417    }
418}
419
420#[cfg(feature = "root_motion-final_ik-ragdollutility")]
421impl RagdollUtility_Child {
422    #[doc = "`.ctor(crate::unity_engine::transform::Transform)` — overload selector"]
423    pub fn new(transform: crate::unity_engine::transform::Transform) -> Self {
424        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
425            panic!(
426                "{}
427::{}
428 failed to instantiate",
429                ::core::stringify!(RagdollUtility_Child),
430                ::core::stringify!(new),
431            )
432        });
433        <Self as IRagdollUtility_ChildMethods>::ctor(this, transform);
434        this
435    }
436}
437
438#[cfg(feature = "root_motion-final_ik-ragdollutility")]
439pub trait IRagdollUtility_RigidboneMethods: IRagdollUtility_Rigidbone {
440    #[doc = "`.ctor(crate::unity_engine::rigidbody::Rigidbody)` overload"]
441    fn ctor(self, r: impl ::core::convert::Into<crate::unity_engine::rigidbody::Rigidbody>) -> () {
442        unsafe {
443            let __receiver =
444                <RagdollUtility_Rigidbone as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445            ::unity::il2cpp_call!((::unity::module_base()+0x1af1570usize)as*mut u8,();
446(RagdollUtility_Rigidbone)__receiver,(crate::unity_engine::rigidbody::Rigidbody)::core::convert::Into::into(r))
447        }
448    }
449    #[doc = "`RecordVelocity()` overload"]
450    fn record_velocity(self) -> () {
451        unsafe {
452            let __receiver =
453                <RagdollUtility_Rigidbone as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454            ::unity::il2cpp_call!((::unity::module_base()+0x1af1720usize)as*mut u8,();
455(RagdollUtility_Rigidbone)__receiver)
456        }
457    }
458    #[doc = "`WakeUp(f32, f32)` overload"]
459    fn wake_up(self, velocity_weight: impl ::core::convert::Into<f32>, angular_velocity_weight: impl ::core::convert::Into<f32>) -> () {
460        unsafe {
461            let __receiver =
462                <RagdollUtility_Rigidbone as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463            ::unity::il2cpp_call!((::unity::module_base()+0x1af1810usize)as*mut u8,();
464(RagdollUtility_Rigidbone)__receiver,(f32)::core::convert::Into::into(velocity_weight),(f32)::core::convert::Into::into(angular_velocity_weight))
465        }
466    }
467}
468
469#[cfg(feature = "root_motion-final_ik-ragdollutility")]
470impl<__T: IRagdollUtility_Rigidbone> IRagdollUtility_RigidboneMethods for __T {}
471
472#[cfg(feature = "root_motion-final_ik-ragdollutility")]
473impl RagdollUtility_Rigidbone {
474    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
475        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
476    }
477
478    pub fn record_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
479        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
480    }
481
482    pub fn wake_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
483        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
484    }
485}
486
487#[cfg(feature = "root_motion-final_ik-ragdollutility")]
488impl RagdollUtility_Rigidbone {
489    #[doc = "`.ctor(crate::unity_engine::rigidbody::Rigidbody)` — overload selector"]
490    pub fn new(r: crate::unity_engine::rigidbody::Rigidbody) -> Self {
491        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
492            panic!(
493                "{}
494::{}
495 failed to instantiate",
496                ::core::stringify!(RagdollUtility_Rigidbone),
497                ::core::stringify!(new),
498            )
499        });
500        <Self as IRagdollUtility_RigidboneMethods>::ctor(this, r);
501        this
502    }
503}
504
505#[cfg(feature = "root_motion-final_ik-ragdollutility")]
506#[doc(hidden)]
507pub mod prelude {
508    pub use super::{
509        IRagdollUtility, IRagdollUtilityMethods, IRagdollUtility_Child, IRagdollUtility_ChildMethods, IRagdollUtility_Rigidbone,
510        IRagdollUtility_RigidboneMethods, RagdollUtility, RagdollUtility_Child, RagdollUtility_Rigidbone,
511    };
512    #[cfg(feature = "system-object")]
513    pub use crate::system::object::IObjectMethods;
514    #[cfg(feature = "unity_engine-behaviour")]
515    pub use crate::unity_engine::behaviour::IBehaviourMethods;
516    #[cfg(feature = "unity_engine-component")]
517    pub use crate::unity_engine::component::IComponentMethods;
518    #[cfg(feature = "unity_engine-monobehaviour")]
519    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
520    #[cfg(feature = "unity_engine-object_2")]
521    pub use crate::unity_engine::object_2::IObject_2Methods;
522    pub use crate::{
523        system::object::IObject,
524        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
525    };
526}