Skip to main content

IWeaponFlyingMethods

Trait IWeaponFlyingMethods 

Source
pub trait IWeaponFlyingMethods: IWeaponFlying {
    // Provided methods
    fn initialize(
        self,
        owner: impl Into<Character>,
        para: impl Into<Parabola>,
        angular_velocity: impl Into<f32>,
    ) { ... }
    fn attach_trail_effect(
        self,
        effect_prefab: impl Into<GameObject>,
        node_name: impl Into<Il2CppString>,
    ) { ... }
    fn hit_and_delete(self) { ... }
    fn drop(self) { ... }
    fn knockoff(self) -> Vector3 { ... }
    fn fadeout_trail_effect(self, stop_and_clear: impl Into<bool>) { ... }
    fn update(self) { ... }
    fn on_collision_enter(self, collision: impl Into<Collision>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn initialize( self, owner: impl Into<Character>, para: impl Into<Parabola>, angular_velocity: impl Into<f32>, )

Initialize(crate::combat::character::Character, crate::combat::parabola::Parabola, f32) overload

Source

fn attach_trail_effect( self, effect_prefab: impl Into<GameObject>, node_name: impl Into<Il2CppString>, )

AttachTrailEffect(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString) overload

Source

fn hit_and_delete(self)

HitAndDelete() overload

Source

fn drop(self)

Drop() overload

Source

fn knockoff(self) -> Vector3

Knockoff(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn fadeout_trail_effect(self, stop_and_clear: impl Into<bool>)

FadeoutTrailEffect(bool) overload

Source

fn update(self)

Update() overload

Source

fn on_collision_enter(self, collision: impl Into<Collision>)

OnCollisionEnter(crate::unity_engine::collision::Collision) 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: IWeaponFlying> IWeaponFlyingMethods for __T

Available on crate feature combat-weaponflying only.