Skip to main content

IGameMessageCloseMethods

Trait IGameMessageCloseMethods 

Source
pub trait IGameMessageCloseMethods: IGameMessageClose {
    // Provided methods
    fn on_state_enter(
        self,
        animator: impl Into<Animator>,
        state_info: impl Into<AnimatorStateInfo>,
        layer_index: impl Into<i32>,
    ) { ... }
    fn on_state_exit(
        self,
        animator: impl Into<Animator>,
        state_info: impl Into<AnimatorStateInfo>,
        layer_index: impl Into<i32>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_state_enter( self, animator: impl Into<Animator>, state_info: impl Into<AnimatorStateInfo>, layer_index: impl Into<i32>, )

OnStateEnter(crate::unity_engine::animator::Animator, crate::unity_engine::animatorstateinfo::AnimatorStateInfo, i32) overload

Source

fn on_state_exit( self, animator: impl Into<Animator>, state_info: impl Into<AnimatorStateInfo>, layer_index: impl Into<i32>, )

OnStateExit(crate::unity_engine::animator::Animator, crate::unity_engine::animatorstateinfo::AnimatorStateInfo, i32) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IGameMessageClose> IGameMessageCloseMethods for __T

Available on crate feature root-gamemessageclose only.