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§
Sourcefn set_ease(self, ease_type: impl Into<Curve_Type>, ease_power: impl Into<i32>)
fn set_ease(self, ease_type: impl Into<Curve_Type>, ease_power: impl Into<i32>)
SetEase(crate::app::curve::Curve_Type, i32) overload
Sourcefn shoot(self, arrival_time: impl Into<f32>) -> (Vector3, Vector3)
fn shoot(self, arrival_time: impl Into<f32>) -> (Vector3, Vector3)
Shoot(*mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::vector3::Vector3, f32) overload
Sourcefn change_start_end_pos(
self,
start_pos: impl Into<Vector3>,
end_pos: impl Into<Vector3>,
)
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
Sourcefn set_position_to_end_if_un_shoot(self, target_pos: impl Into<Vector3>)
fn set_position_to_end_if_un_shoot(self, target_pos: impl Into<Vector3>)
SetPositionToEnd_IfUnShoot(crate::unity_engine::vector3::Vector3) 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: IMagicFlying> IMagicFlyingMethods for __T
Available on crate feature
combat-magicflying only.