pub trait IMyRoomEventBehaviourMethods: IMyRoomEventBehaviour {
// Provided methods
fn on_behaviour_play(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
) { ... }
fn on_behaviour_pause(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
) { ... }
fn process_frame(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
player_data: impl Into<Object>,
) { ... }
fn create_effect(self, name: impl Into<Il2CppString>) -> GameObject { ... }
fn get_layer_parent(self) -> Transform { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_behaviour_play(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
)
fn on_behaviour_play( self, playable: impl Into<Playable>, info: impl Into<FrameData>, )
OnBehaviourPlay(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData) overload
Sourcefn on_behaviour_pause(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
)
fn on_behaviour_pause( self, playable: impl Into<Playable>, info: impl Into<FrameData>, )
OnBehaviourPause(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData) overload
Sourcefn process_frame(
self,
playable: impl Into<Playable>,
info: impl Into<FrameData>,
player_data: impl Into<Object>,
)
fn process_frame( self, playable: impl Into<Playable>, info: impl Into<FrameData>, player_data: impl Into<Object>, )
ProcessFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData, crate::system::object::Object) overload
Sourcefn create_effect(self, name: impl Into<Il2CppString>) -> GameObject
fn create_effect(self, name: impl Into<Il2CppString>) -> GameObject
CreateEffect(::unity::Il2CppString) overload
Sourcefn get_layer_parent(self) -> Transform
fn get_layer_parent(self) -> Transform
GetLayerParent() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IMyRoomEventBehaviour> IMyRoomEventBehaviourMethods for __T
Available on crate feature
app-myroomeventbehaviour only.