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§
Sourcefn initialize(
self,
owner: impl Into<Character>,
para: impl Into<Parabola>,
angular_velocity: impl Into<f32>,
)
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
Sourcefn attach_trail_effect(
self,
effect_prefab: impl Into<GameObject>,
node_name: impl Into<Il2CppString>,
)
fn attach_trail_effect( self, effect_prefab: impl Into<GameObject>, node_name: impl Into<Il2CppString>, )
AttachTrailEffect(crate::unity_engine::gameobject::GameObject, ::unity::Il2CppString) overload
Sourcefn hit_and_delete(self)
fn hit_and_delete(self)
HitAndDelete() overload
Sourcefn fadeout_trail_effect(self, stop_and_clear: impl Into<bool>)
fn fadeout_trail_effect(self, stop_and_clear: impl Into<bool>)
FadeoutTrailEffect(bool) overload
Sourcefn on_collision_enter(self, collision: impl Into<Collision>)
fn on_collision_enter(self, collision: impl Into<Collision>)
OnCollisionEnter(crate::unity_engine::collision::Collision) 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: IWeaponFlying> IWeaponFlyingMethods for __T
Available on crate feature
combat-weaponflying only.