Skip to main content

engage/generated/unity_engine/playables/
playablebehaviour.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-playables-playablebehaviour-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/playables/playablebehaviour/PlayableBehaviour.md"))]
11    #[::unity::class(namespace = "UnityEngine.Playables", name = "PlayableBehaviour")]
12    #[parent(crate::system::object::Object)]
13    pub struct PlayableBehaviour {}
14}
15
16#[cfg(feature = "unity_engine-playables-playablebehaviour-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-playables-playablebehaviour")]
20pub trait IPlayableBehaviourMethods: IPlayableBehaviour {
21    #[doc = "`.ctor()` overload"]
22    fn ctor(self) -> () {
23        unsafe {
24            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
25            ::unity::il2cpp_call!((::unity::module_base()+0x32f1da0usize)as*mut u8,();
26(PlayableBehaviour)__receiver)
27        }
28    }
29    #[doc = "`OnGraphStart(crate::unity_engine::playables::playable::Playable)` overload"]
30    fn on_graph_start(self, playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>) -> () {
31        unsafe {
32            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            {
34                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
35                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
36                    panic!(
37                        "unity: virtual slot {}
38 out of range (vtable len {}
39) on the runtime class behind {}
40 (method `{}
41`)",
42                        13usize,
43                        __vt.len(),
44                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
45                        "OnGraphStart",
46                    )
47                });
48                let __inner: extern "C" fn(PlayableBehaviour, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
49                    ::core::mem::transmute(__vi.method_ptr);
50                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
51                __inner(__receiver, ::core::convert::Into::into(playable), __mi)
52            }
53        }
54    }
55    #[doc = "`OnGraphStop(crate::unity_engine::playables::playable::Playable)` overload"]
56    fn on_graph_stop(self, playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>) -> () {
57        unsafe {
58            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59            {
60                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
61                let __vi = *__vt.get(14usize).unwrap_or_else(|| {
62                    panic!(
63                        "unity: virtual slot {}
64 out of range (vtable len {}
65) on the runtime class behind {}
66 (method `{}
67`)",
68                        14usize,
69                        __vt.len(),
70                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
71                        "OnGraphStop",
72                    )
73                });
74                let __inner: extern "C" fn(PlayableBehaviour, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
75                    ::core::mem::transmute(__vi.method_ptr);
76                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
77                __inner(__receiver, ::core::convert::Into::into(playable), __mi)
78            }
79        }
80    }
81    #[doc = "`OnPlayableCreate(crate::unity_engine::playables::playable::Playable)` overload"]
82    fn on_playable_create(self, playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>) -> () {
83        unsafe {
84            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85            {
86                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
87                let __vi = *__vt.get(15usize).unwrap_or_else(|| {
88                    panic!(
89                        "unity: virtual slot {}
90 out of range (vtable len {}
91) on the runtime class behind {}
92 (method `{}
93`)",
94                        15usize,
95                        __vt.len(),
96                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
97                        "OnPlayableCreate",
98                    )
99                });
100                let __inner: extern "C" fn(PlayableBehaviour, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
101                    ::core::mem::transmute(__vi.method_ptr);
102                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
103                __inner(__receiver, ::core::convert::Into::into(playable), __mi)
104            }
105        }
106    }
107    #[doc = "`OnPlayableDestroy(crate::unity_engine::playables::playable::Playable)` overload"]
108    fn on_playable_destroy(self, playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>) -> () {
109        unsafe {
110            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            {
112                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
113                let __vi = *__vt.get(16usize).unwrap_or_else(|| {
114                    panic!(
115                        "unity: virtual slot {}
116 out of range (vtable len {}
117) on the runtime class behind {}
118 (method `{}
119`)",
120                        16usize,
121                        __vt.len(),
122                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
123                        "OnPlayableDestroy",
124                    )
125                });
126                let __inner: extern "C" fn(PlayableBehaviour, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
127                    ::core::mem::transmute(__vi.method_ptr);
128                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
129                __inner(__receiver, ::core::convert::Into::into(playable), __mi)
130            }
131        }
132    }
133    #[doc = "`OnBehaviourPlay(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData)` overload"]
134    fn on_behaviour_play(
135        self,
136        playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
137        info: impl ::core::convert::Into<crate::unity_engine::playables::framedata::FrameData>,
138    ) -> () {
139        unsafe {
140            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            {
142                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
143                let __vi = *__vt.get(17usize).unwrap_or_else(|| {
144                    panic!(
145                        "unity: virtual slot {}
146 out of range (vtable len {}
147) on the runtime class behind {}
148 (method `{}
149`)",
150                        17usize,
151                        __vt.len(),
152                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
153                        "OnBehaviourPlay",
154                    )
155                });
156                let __inner: extern "C" fn(
157                    PlayableBehaviour,
158                    crate::unity_engine::playables::playable::Playable,
159                    crate::unity_engine::playables::framedata::FrameData,
160                    ::unity::OptionalMethod,
161                ) -> () = ::core::mem::transmute(__vi.method_ptr);
162                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
163                __inner(__receiver, ::core::convert::Into::into(playable), ::core::convert::Into::into(info), __mi)
164            }
165        }
166    }
167    #[doc = "`OnBehaviourPause(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData)` overload"]
168    fn on_behaviour_pause(
169        self,
170        playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
171        info: impl ::core::convert::Into<crate::unity_engine::playables::framedata::FrameData>,
172    ) -> () {
173        unsafe {
174            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            {
176                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
177                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
178                    panic!(
179                        "unity: virtual slot {}
180 out of range (vtable len {}
181) on the runtime class behind {}
182 (method `{}
183`)",
184                        18usize,
185                        __vt.len(),
186                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
187                        "OnBehaviourPause",
188                    )
189                });
190                let __inner: extern "C" fn(
191                    PlayableBehaviour,
192                    crate::unity_engine::playables::playable::Playable,
193                    crate::unity_engine::playables::framedata::FrameData,
194                    ::unity::OptionalMethod,
195                ) -> () = ::core::mem::transmute(__vi.method_ptr);
196                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
197                __inner(__receiver, ::core::convert::Into::into(playable), ::core::convert::Into::into(info), __mi)
198            }
199        }
200    }
201    #[doc = "`PrepareFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData)` overload"]
202    fn prepare_frame(
203        self,
204        playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
205        info: impl ::core::convert::Into<crate::unity_engine::playables::framedata::FrameData>,
206    ) -> () {
207        unsafe {
208            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            {
210                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
211                let __vi = *__vt.get(19usize).unwrap_or_else(|| {
212                    panic!(
213                        "unity: virtual slot {}
214 out of range (vtable len {}
215) on the runtime class behind {}
216 (method `{}
217`)",
218                        19usize,
219                        __vt.len(),
220                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
221                        "PrepareFrame",
222                    )
223                });
224                let __inner: extern "C" fn(
225                    PlayableBehaviour,
226                    crate::unity_engine::playables::playable::Playable,
227                    crate::unity_engine::playables::framedata::FrameData,
228                    ::unity::OptionalMethod,
229                ) -> () = ::core::mem::transmute(__vi.method_ptr);
230                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
231                __inner(__receiver, ::core::convert::Into::into(playable), ::core::convert::Into::into(info), __mi)
232            }
233        }
234    }
235    #[doc = "`ProcessFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData, crate::system::object::Object)` overload"]
236    fn process_frame(
237        self,
238        playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
239        info: impl ::core::convert::Into<crate::unity_engine::playables::framedata::FrameData>,
240        player_data: impl ::core::convert::Into<crate::system::object::Object>,
241    ) -> () {
242        unsafe {
243            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244            {
245                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
246                let __vi = *__vt.get(20usize).unwrap_or_else(|| {
247                    panic!(
248                        "unity: virtual slot {}
249 out of range (vtable len {}
250) on the runtime class behind {}
251 (method `{}
252`)",
253                        20usize,
254                        __vt.len(),
255                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
256                        "ProcessFrame",
257                    )
258                });
259                let __inner: extern "C" fn(
260                    PlayableBehaviour,
261                    crate::unity_engine::playables::playable::Playable,
262                    crate::unity_engine::playables::framedata::FrameData,
263                    crate::system::object::Object,
264                    ::unity::OptionalMethod,
265                ) -> () = ::core::mem::transmute(__vi.method_ptr);
266                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
267                __inner(
268                    __receiver,
269                    ::core::convert::Into::into(playable),
270                    ::core::convert::Into::into(info),
271                    ::core::convert::Into::into(player_data),
272                    __mi,
273                )
274            }
275        }
276    }
277    #[doc = "`Clone()` overload"]
278    fn clone(self) -> crate::system::object::Object {
279        unsafe {
280            let __receiver = <PlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281            {
282                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
283                let __vi = *__vt.get(21usize).unwrap_or_else(|| {
284                    panic!(
285                        "unity: virtual slot {}
286 out of range (vtable len {}
287) on the runtime class behind {}
288 (method `{}
289`)",
290                        21usize,
291                        __vt.len(),
292                        <PlayableBehaviour as ::unity::ClassIdentity>::NAME,
293                        "Clone",
294                    )
295                });
296                let __inner: extern "C" fn(PlayableBehaviour, ::unity::OptionalMethod) -> crate::system::object::Object =
297                    ::core::mem::transmute(__vi.method_ptr);
298                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
299                __inner(__receiver, __mi)
300            }
301        }
302    }
303}
304
305#[cfg(feature = "unity_engine-playables-playablebehaviour")]
306impl<__T: IPlayableBehaviour> IPlayableBehaviourMethods for __T {}
307
308#[cfg(feature = "unity_engine-playables-playablebehaviour")]
309impl PlayableBehaviour {
310    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
312    }
313
314    pub fn on_graph_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
316    }
317
318    pub fn on_graph_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
320    }
321
322    pub fn on_playable_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
323        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
324    }
325
326    pub fn on_playable_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
328    }
329
330    pub fn on_behaviour_play_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
332    }
333
334    pub fn on_behaviour_pause_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
336    }
337
338    pub fn prepare_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
340    }
341
342    pub fn process_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
344    }
345
346    pub fn clone_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
348    }
349}
350
351#[cfg(feature = "unity_engine-playables-playablebehaviour")]
352impl PlayableBehaviour {
353    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnGraphStart`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
354    pub unsafe fn on_graph_start(
355        this: impl ::core::convert::Into<::unity::IlInstance>,
356        playable: crate::unity_engine::playables::playable::Playable,
357    ) -> () {
358        let __mi = Self::on_graph_start_method_info();
359        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
360            ::core::mem::transmute(__mi.method_ptr);
361        __inner(this.into(), playable, ::core::option::Option::None)
362    }
363
364    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnGraphStop`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
365    pub unsafe fn on_graph_stop(
366        this: impl ::core::convert::Into<::unity::IlInstance>,
367        playable: crate::unity_engine::playables::playable::Playable,
368    ) -> () {
369        let __mi = Self::on_graph_stop_method_info();
370        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
371            ::core::mem::transmute(__mi.method_ptr);
372        __inner(this.into(), playable, ::core::option::Option::None)
373    }
374
375    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnPlayableCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
376    pub unsafe fn on_playable_create(
377        this: impl ::core::convert::Into<::unity::IlInstance>,
378        playable: crate::unity_engine::playables::playable::Playable,
379    ) -> () {
380        let __mi = Self::on_playable_create_method_info();
381        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
382            ::core::mem::transmute(__mi.method_ptr);
383        __inner(this.into(), playable, ::core::option::Option::None)
384    }
385
386    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnPlayableDestroy`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
387    pub unsafe fn on_playable_destroy(
388        this: impl ::core::convert::Into<::unity::IlInstance>,
389        playable: crate::unity_engine::playables::playable::Playable,
390    ) -> () {
391        let __mi = Self::on_playable_destroy_method_info();
392        let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::playables::playable::Playable, ::unity::OptionalMethod) -> () =
393            ::core::mem::transmute(__mi.method_ptr);
394        __inner(this.into(), playable, ::core::option::Option::None)
395    }
396
397    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnBehaviourPlay`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
398    pub unsafe fn on_behaviour_play(
399        this: impl ::core::convert::Into<::unity::IlInstance>,
400        playable: crate::unity_engine::playables::playable::Playable,
401        info: crate::unity_engine::playables::framedata::FrameData,
402    ) -> () {
403        let __mi = Self::on_behaviour_play_method_info();
404        let __inner: extern "C" fn(
405            ::unity::IlInstance,
406            crate::unity_engine::playables::playable::Playable,
407            crate::unity_engine::playables::framedata::FrameData,
408            ::unity::OptionalMethod,
409        ) -> () = ::core::mem::transmute(__mi.method_ptr);
410        __inner(this.into(), playable, info, ::core::option::Option::None)
411    }
412
413    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `OnBehaviourPause`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
414    pub unsafe fn on_behaviour_pause(
415        this: impl ::core::convert::Into<::unity::IlInstance>,
416        playable: crate::unity_engine::playables::playable::Playable,
417        info: crate::unity_engine::playables::framedata::FrameData,
418    ) -> () {
419        let __mi = Self::on_behaviour_pause_method_info();
420        let __inner: extern "C" fn(
421            ::unity::IlInstance,
422            crate::unity_engine::playables::playable::Playable,
423            crate::unity_engine::playables::framedata::FrameData,
424            ::unity::OptionalMethod,
425        ) -> () = ::core::mem::transmute(__mi.method_ptr);
426        __inner(this.into(), playable, info, ::core::option::Option::None)
427    }
428
429    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `PrepareFrame`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
430    pub unsafe fn prepare_frame(
431        this: impl ::core::convert::Into<::unity::IlInstance>,
432        playable: crate::unity_engine::playables::playable::Playable,
433        info: crate::unity_engine::playables::framedata::FrameData,
434    ) -> () {
435        let __mi = Self::prepare_frame_method_info();
436        let __inner: extern "C" fn(
437            ::unity::IlInstance,
438            crate::unity_engine::playables::playable::Playable,
439            crate::unity_engine::playables::framedata::FrameData,
440            ::unity::OptionalMethod,
441        ) -> () = ::core::mem::transmute(__mi.method_ptr);
442        __inner(this.into(), playable, info, ::core::option::Option::None)
443    }
444
445    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `ProcessFrame`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
446    pub unsafe fn process_frame(
447        this: impl ::core::convert::Into<::unity::IlInstance>,
448        playable: crate::unity_engine::playables::playable::Playable,
449        info: crate::unity_engine::playables::framedata::FrameData,
450        player_data: crate::system::object::Object,
451    ) -> () {
452        let __mi = Self::process_frame_method_info();
453        let __inner: extern "C" fn(
454            ::unity::IlInstance,
455            crate::unity_engine::playables::playable::Playable,
456            crate::unity_engine::playables::framedata::FrameData,
457            crate::system::object::Object,
458            ::unity::OptionalMethod,
459        ) -> () = ::core::mem::transmute(__mi.method_ptr);
460        __inner(this.into(), playable, info, player_data, ::core::option::Option::None)
461    }
462
463    #[doc = "Direct (non-virtual) call to `PlayableBehaviour`'s own `Clone`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
464    pub unsafe fn clone(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::object::Object {
465        let __mi = Self::clone_method_info();
466        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::object::Object =
467            ::core::mem::transmute(__mi.method_ptr);
468        __inner(this.into(), ::core::option::Option::None)
469    }
470}
471
472#[cfg(feature = "unity_engine-playables-playablebehaviour")]
473impl PlayableBehaviour {
474    #[doc = "`.ctor()` — no args"]
475    pub fn new() -> Self {
476        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
477            panic!(
478                "{}
479::{}
480 failed to instantiate",
481                ::core::stringify!(PlayableBehaviour),
482                ::core::stringify!(new),
483            )
484        });
485        <Self as IPlayableBehaviourMethods>::ctor(this);
486        this
487    }
488}
489
490#[cfg(feature = "unity_engine-playables-playablebehaviour")]
491#[doc(hidden)]
492pub mod prelude {
493    pub use super::{IPlayableBehaviour, IPlayableBehaviourMethods, PlayableBehaviour};
494    pub use crate::system::object::IObject;
495    #[cfg(feature = "system-object")]
496    pub use crate::system::object::IObjectMethods;
497}