engage/generated/root/
animatorineditor_bridge.rs1#[cfg(feature = "root-animatorineditor_bridge-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 combat::animatorineditor::{AnimatorInEditor, IAnimatorInEditor},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/animatorineditor_bridge/AnimatorInEditor_Bridge.md"))]
20 #[::unity::class(namespace = "", name = "AnimatorInEditor_Bridge")]
21 #[parent(crate::combat::animatorineditor::AnimatorInEditor)]
22 pub struct AnimatorInEditor_Bridge {}
23}
24
25#[cfg(feature = "root-animatorineditor_bridge-types")]
26pub use __types::*;
27
28#[cfg(feature = "root-animatorineditor_bridge")]
29pub trait IAnimatorInEditor_BridgeMethods: IAnimatorInEditor_Bridge {
30 #[doc = "`.ctor()` overload"]
31 fn ctor(self) -> () {
32 unsafe {
33 let __receiver =
34 <AnimatorInEditor_Bridge as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
35 ::unity::il2cpp_call!((::unity::module_base()+0x1c9cab0usize)as*mut u8,();
36(AnimatorInEditor_Bridge)__receiver)
37 }
38 }
39}
40
41#[cfg(feature = "root-animatorineditor_bridge")]
42impl<__T: IAnimatorInEditor_Bridge> IAnimatorInEditor_BridgeMethods for __T {}
43
44#[cfg(feature = "root-animatorineditor_bridge")]
45impl AnimatorInEditor_Bridge {
46 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
47 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
48 }
49}
50
51#[cfg(feature = "root-animatorineditor_bridge")]
52impl AnimatorInEditor_Bridge {
53 #[doc = "`.ctor()` — no args"]
54 pub fn new() -> Self {
55 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
56 panic!(
57 "{}
58::{}
59 failed to instantiate",
60 ::core::stringify!(AnimatorInEditor_Bridge),
61 ::core::stringify!(new),
62 )
63 });
64 <Self as IAnimatorInEditor_BridgeMethods>::ctor(this);
65 this
66 }
67}
68
69#[cfg(feature = "root-animatorineditor_bridge")]
70#[doc(hidden)]
71pub mod prelude {
72 pub use super::{AnimatorInEditor_Bridge, IAnimatorInEditor_Bridge, IAnimatorInEditor_BridgeMethods};
73 #[cfg(feature = "combat-animatorineditor")]
74 pub use crate::combat::animatorineditor::IAnimatorInEditorMethods;
75 #[cfg(feature = "system-object")]
76 pub use crate::system::object::IObjectMethods;
77 #[cfg(feature = "unity_engine-behaviour")]
78 pub use crate::unity_engine::behaviour::IBehaviourMethods;
79 #[cfg(feature = "unity_engine-component")]
80 pub use crate::unity_engine::component::IComponentMethods;
81 #[cfg(feature = "unity_engine-monobehaviour")]
82 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
83 #[cfg(feature = "unity_engine-object_2")]
84 pub use crate::unity_engine::object_2::IObject_2Methods;
85 pub use crate::{
86 combat::animatorineditor::IAnimatorInEditor,
87 system::object::IObject,
88 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
89 };
90}