Skip to main content

IMagicFlyingMethods

Trait IMagicFlyingMethods 

Source
pub trait IMagicFlyingMethods: IMagicFlying {
    // Provided methods
    fn set_ease(
        self,
        ease_type: impl Into<Curve_Type>,
        ease_power: impl Into<i32>,
    ) { ... }
    fn shoot(self, arrival_time: impl Into<f32>) -> (Vector3, Vector3) { ... }
    fn stop(self) { ... }
    fn change_start_end_pos(
        self,
        start_pos: impl Into<Vector3>,
        end_pos: impl Into<Vector3>,
    ) { ... }
    fn update(self) { ... }
    fn set_position_to_end_if_un_shoot(self, target_pos: impl Into<Vector3>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_ease(self, ease_type: impl Into<Curve_Type>, ease_power: impl Into<i32>)

SetEase(crate::app::curve::Curve_Type, i32) overload

Source

fn shoot(self, arrival_time: impl Into<f32>) -> (Vector3, Vector3)

Shoot(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3, f32) overload

Source

fn stop(self)

Stop() overload

Source

fn change_start_end_pos( self, start_pos: impl Into<Vector3>, end_pos: impl Into<Vector3>, )

ChangeStartEndPos(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn update(self)

Update() overload

Source

fn set_position_to_end_if_un_shoot(self, target_pos: impl Into<Vector3>)

SetPositionToEnd_IfUnShoot(crate::unity_engine::vector3::Vector3) 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: IMagicFlying> IMagicFlyingMethods for __T

Available on crate feature combat-magicflying only.