engage/generated/unity_engine/timeline/
timelineundo.rs1#[cfg(feature = "unity_engine-timeline-timelineundo-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/timeline/timelineundo/TimelineUndo.md"))]
11 #[::unity::class(namespace = "UnityEngine.Timeline", name = "TimelineUndo")]
12 #[parent(crate::system::object::Object)]
13 pub struct TimelineUndo {}
14}
15
16#[cfg(feature = "unity_engine-timeline-timelineundo-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-timeline-timelineundo")]
20impl TimelineUndo {
21 #[doc = "`PushDestroyUndo(crate::unity_engine::timeline::timelineasset::TimelineAsset, crate::unity_engine::object_2::Object_2, crate::unity_engine::object_2::Object_2)` overload"]
22 pub fn push_destroy_undo(
23 timeline: impl ::core::convert::Into<crate::unity_engine::timeline::timelineasset::TimelineAsset>,
24 thing_to_dirty: impl ::core::convert::Into<crate::unity_engine::object_2::Object_2>,
25 object_to_destroy: impl ::core::convert::Into<crate::unity_engine::object_2::Object_2>,
26 ) -> () {
27 unsafe {
28 ::unity::il2cpp_call!((::unity::module_base()+0x35d7c60usize)as*mut u8,();
29(crate::unity_engine::timeline::timelineasset::TimelineAsset)::core::convert::Into::into(timeline),(crate::unity_engine::object_2::Object_2)::core::convert::Into::into(thing_to_dirty),(crate::unity_engine::object_2::Object_2)::core::convert::Into::into(object_to_destroy))
30 }
31 }
32}
33
34#[cfg(feature = "unity_engine-timeline-timelineundo")]
35impl TimelineUndo {
36 pub fn push_destroy_undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
37 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
38 }
39}
40
41#[cfg(feature = "unity_engine-timeline-timelineundo")]
42#[doc(hidden)]
43pub mod prelude {
44 pub use super::{ITimelineUndo, TimelineUndo};
45 pub use crate::system::object::IObject;
46 #[cfg(feature = "system-object")]
47 pub use crate::system::object::IObjectMethods;
48}