Skip to main content

ILaunchBehaviourMethods

Trait ILaunchBehaviourMethods 

Source
pub trait ILaunchBehaviourMethods: ILaunchBehaviour {
Show 15 methods // Provided methods fn get_cp(self) -> Character { ... } fn get_weapon_instance(self) -> GameObject { ... } fn set_weapon_instance(self, value: impl Into<GameObject>) { ... } fn on_character_setup(self, owner: impl Into<Character>) { ... } fn on_enter_attack(self) { ... } fn on_hit_time_predicted(self, world_hit_time: impl Into<f32>) { ... } fn recalc_flying_time(self) { ... } fn get_flying_time(self) -> f32 { ... } fn set_flying_time(self, value: impl Into<f32>) { ... } fn get_world_hit_time(self) -> f32 { ... } fn set_world_hit_time(self, value: impl Into<f32>) { ... } fn stop(self) { ... } fn on_destroy(self) { ... } fn make_avoid_observer( self, chr: impl Into<Character>, time_to_hit: impl Into<f32>, ) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn get_weapon_instance(self) -> GameObject

get_WeaponInstance() overload

Source

fn set_weapon_instance(self, value: impl Into<GameObject>)

set_WeaponInstance(crate::unity_engine::gameobject::GameObject) overload

Source

fn on_character_setup(self, owner: impl Into<Character>)

OnCharacterSetup(crate::combat::character::Character) overload

Source

fn on_enter_attack(self)

OnEnterAttack() overload

Source

fn on_hit_time_predicted(self, world_hit_time: impl Into<f32>)

OnHitTimePredicted(f32) overload

Source

fn recalc_flying_time(self)

RecalcFlyingTime() overload

Source

fn get_flying_time(self) -> f32

get_FlyingTime() overload

Source

fn set_flying_time(self, value: impl Into<f32>)

set_FlyingTime(f32) overload

Source

fn get_world_hit_time(self) -> f32

get_WorldHitTime() overload

Source

fn set_world_hit_time(self, value: impl Into<f32>)

set_WorldHitTime(f32) overload

Source

fn stop(self)

Stop() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn make_avoid_observer( self, chr: impl Into<Character>, time_to_hit: impl Into<f32>, )

MakeAvoidObserver(crate::combat::character::Character, f32) 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: ILaunchBehaviour> ILaunchBehaviourMethods for __T

Available on crate feature combat-launchbehaviour only.