pub trait IActionObservableMethods: IActionObservable {
// Provided methods
fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>) { ... }
fn on_enter(self) { ... }
fn on_update(self) { ... }
fn on_exit(self) { ... }
fn on_enter_attack(self) { ... }
fn on_hit_passed(self, ev: impl Into<AnimationEvent>) { ... }
}Provided Methods§
Sourcefn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>)
fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>)
.ctor(crate::combat::character::Character, crate::combat::phase::Phase) overload
Sourcefn on_enter_attack(self)
fn on_enter_attack(self)
OnEnterAttack() overload
Sourcefn on_hit_passed(self, ev: impl Into<AnimationEvent>)
fn on_hit_passed(self, ev: impl Into<AnimationEvent>)
OnHitPassed(crate::unity_engine::animationevent::AnimationEvent) 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: IActionObservable> IActionObservableMethods for __T
Available on crate feature
combat-actionobservable only.