engage/generated/unity_engine/
animatorutility.rs1#[cfg(feature = "unity_engine-animatorutility-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/animatorutility/AnimatorUtility.md"))]
11 #[::unity::class(namespace = "UnityEngine", name = "AnimatorUtility")]
12 #[parent(crate::system::object::Object)]
13 pub struct AnimatorUtility {}
14}
15
16#[cfg(feature = "unity_engine-animatorutility-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-animatorutility")]
20impl AnimatorUtility {
21 #[doc = "`OptimizeTransformHierarchy(crate::unity_engine::gameobject::GameObject, ::unity::Array<::unity::Il2CppString>)` overload"]
22 pub fn optimize_transform_hierarchy(
23 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
24 exposed_transforms: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
25 ) -> () {
26 unsafe {
27 ::unity::il2cpp_call!((::unity::module_base()+0x3eb8510usize)as*mut u8,();
28(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(exposed_transforms))
29 }
30 }
31}
32
33#[cfg(feature = "unity_engine-animatorutility")]
34impl AnimatorUtility {
35 pub fn optimize_transform_hierarchy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
36 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
37 }
38}
39
40#[cfg(feature = "unity_engine-animatorutility")]
41#[doc(hidden)]
42pub mod prelude {
43 pub use super::{AnimatorUtility, IAnimatorUtility};
44 pub use crate::system::object::IObject;
45 #[cfg(feature = "system-object")]
46 pub use crate::system::object::IObjectMethods;
47}