pub trait IMagicMethods: IMagic {
Show 15 methods
// Provided methods
fn get_initial_start_pos(self) -> Vector3 { ... }
fn set_initial_start_pos(self, value: impl Into<Vector3>) { ... }
fn get_initial_end_pos(self) -> Vector3 { ... }
fn set_initial_end_pos(self, value: impl Into<Vector3>) { ... }
fn track(self, i: impl Into<i32>) -> MagicSignalTrack { ... }
fn get_home_node(self) -> Transform { ... }
fn get_target_node(self) -> Transform { ... }
fn get_target_position(self) -> Vector3 { ... }
fn recalc_flying_time(self) { ... }
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 on_hit_magic_sword_hit(self) { ... }
fn get_ice_rock_skipped_prefab仕方なく(self) -> GameObject { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_initial_start_pos(self) -> Vector3
fn get_initial_start_pos(self) -> Vector3
get_InitialStartPos() overload
Sourcefn set_initial_start_pos(self, value: impl Into<Vector3>)
fn set_initial_start_pos(self, value: impl Into<Vector3>)
set_InitialStartPos(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_initial_end_pos(self) -> Vector3
fn get_initial_end_pos(self) -> Vector3
get_InitialEndPos() overload
Sourcefn set_initial_end_pos(self, value: impl Into<Vector3>)
fn set_initial_end_pos(self, value: impl Into<Vector3>)
set_InitialEndPos(crate::unity_engine::vector3::Vector3) overload
Sourcefn track(self, i: impl Into<i32>) -> MagicSignalTrack
fn track(self, i: impl Into<i32>) -> MagicSignalTrack
Track(i32) overload
Sourcefn get_home_node(self) -> Transform
fn get_home_node(self) -> Transform
get_HomeNode() overload
Sourcefn get_target_node(self) -> Transform
fn get_target_node(self) -> Transform
get_TargetNode() overload
Sourcefn get_target_position(self) -> Vector3
fn get_target_position(self) -> Vector3
get_TargetPosition() overload
Sourcefn recalc_flying_time(self)
fn recalc_flying_time(self)
RecalcFlyingTime() overload
Sourcefn on_character_setup(self, owner: impl Into<Character>)
fn on_character_setup(self, owner: impl Into<Character>)
OnCharacterSetup(crate::combat::character::Character) overload
Sourcefn on_enter_attack(self)
fn on_enter_attack(self)
OnEnterAttack() overload
Sourcefn on_hit_time_predicted(self, world_hit_time: impl Into<f32>)
fn on_hit_time_predicted(self, world_hit_time: impl Into<f32>)
OnHitTimePredicted(f32) overload
Sourcefn on_hit_magic_sword_hit(self)
fn on_hit_magic_sword_hit(self)
OnHitMagicSwordHit() overload
Sourcefn get_ice_rock_skipped_prefab仕方なく(self) -> GameObject
fn get_ice_rock_skipped_prefab仕方なく(self) -> GameObject
GetIceRockSkippedPrefab仕方なく() 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: IMagic> IMagicMethods for __T
Available on crate feature
combat-magic only.