Skip to main content

ICharacterIdleSMBMethods

Trait ICharacterIdleSMBMethods 

Source
pub trait ICharacterIdleSMBMethods: ICharacterIdleSMB {
    // Provided methods
    fn on_state_enter(
        self,
        animator: impl Into<Animator>,
        state_info: impl Into<AnimatorStateInfo>,
        layer_index: impl Into<i32>,
    ) { ... }
    fn on_state_update(
        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 set_dying(self, overwrite: impl Into<f32>) { ... }
    fn force_dying(self) { ... }
    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_update( self, animator: impl Into<Animator>, state_info: impl Into<AnimatorStateInfo>, layer_index: impl Into<i32>, )

OnStateUpdate(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 set_dying(self, overwrite: impl Into<f32>)

SetDying(f32) overload

Source

fn force_dying(self)

ForceDying() 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: ICharacterIdleSMB> ICharacterIdleSMBMethods for __T

Available on crate feature combat-characteridlesmb only.