engage/generated/unity_engine/timeline/
customsignaleventdrawer.rs1#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer-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::propertyattribute::{IPropertyAttribute, PropertyAttribute},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/customsignaleventdrawer/CustomSignalEventDrawer.md"))]
14 #[::unity::class(namespace = "UnityEngine.Timeline", name = "CustomSignalEventDrawer")]
15 #[parent(crate::unity_engine::propertyattribute::PropertyAttribute)]
16 pub struct CustomSignalEventDrawer {}
17}
18
19#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer-types")]
20pub use __types::*;
21
22#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer")]
23pub trait ICustomSignalEventDrawerMethods: ICustomSignalEventDrawer {
24 #[doc = "`.ctor()` overload"]
25 fn ctor(self) -> () {
26 unsafe {
27 let __receiver =
28 <CustomSignalEventDrawer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
29 ::unity::il2cpp_call!((::unity::module_base()+0x35d5cb0usize)as*mut u8,();
30(CustomSignalEventDrawer)__receiver)
31 }
32 }
33}
34
35#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer")]
36impl<__T: ICustomSignalEventDrawer> ICustomSignalEventDrawerMethods for __T {}
37
38#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer")]
39impl CustomSignalEventDrawer {
40 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
41 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
42 }
43}
44
45#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer")]
46impl CustomSignalEventDrawer {
47 #[doc = "`.ctor()` — no args"]
48 pub fn new() -> Self {
49 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
50 panic!(
51 "{}
52::{}
53 failed to instantiate",
54 ::core::stringify!(CustomSignalEventDrawer),
55 ::core::stringify!(new),
56 )
57 });
58 <Self as ICustomSignalEventDrawerMethods>::ctor(this);
59 this
60 }
61}
62
63#[cfg(feature = "unity_engine-timeline-customsignaleventdrawer")]
64#[doc(hidden)]
65pub mod prelude {
66 pub use super::{CustomSignalEventDrawer, ICustomSignalEventDrawer, ICustomSignalEventDrawerMethods};
67 #[cfg(feature = "system-object")]
68 pub use crate::system::object::IObjectMethods;
69 #[cfg(feature = "unity_engine-propertyattribute")]
70 pub use crate::unity_engine::propertyattribute::IPropertyAttributeMethods;
71 pub use crate::{system::object::IObject, unity_engine::propertyattribute::IPropertyAttribute};
72}