pub trait IPuppetMethods: IPuppet {
Show 22 methods
// Provided methods
fn get_right_root(self) -> Transform { ... }
fn get_right_tip(self) -> Transform { ... }
fn get_left_root(self) -> Transform { ... }
fn get_left_tip(self) -> Transform { ... }
fn get_human_animation_clip(self) -> AnimationClip { ... }
fn get_ride_animation_clip(self) -> AnimationClip { ... }
fn get_human_game_object(self) -> GameObject { ... }
fn get_base_game_object(self) -> GameObject { ... }
fn get_root_transform(self) -> Transform { ... }
fn get_item(self, joint_name: impl Into<Il2CppString>) -> Transform { ... }
fn get_is_riding(self) -> bool { ... }
fn get_is_flying(self) -> bool { ... }
fn get_is_horse(self) -> bool { ... }
fn get_is_valid(self) -> bool { ... }
fn set_is_valid(self, value: impl Into<bool>) { ... }
fn ctor(
self,
body_inst: impl Into<GameObject>,
body_anim: impl Into<AnimationClip>,
ride_inst: impl Into<GameObject>,
ride_anim: impl Into<AnimationClip>,
) { ... }
fn create_weapon_trail_slots(self) { ... }
fn create_slot(
self,
parent: impl Into<Transform>,
offset: impl Into<Vector3>,
name: impl Into<Il2CppString>,
) -> Transform { ... }
fn dispose(self) { ... }
fn evaluate(self, time: impl Into<f32>) { ... }
fn clear_root_moved_after_evaluate(self) { ... }
fn add_destroyable_g_os(self, gos: impl Into<Array<GameObject>>) { ... }
}Provided Methods§
Sourcefn get_right_root(self) -> Transform
fn get_right_root(self) -> Transform
get_RightRoot() overload
Sourcefn get_right_tip(self) -> Transform
fn get_right_tip(self) -> Transform
get_RightTip() overload
Sourcefn get_left_root(self) -> Transform
fn get_left_root(self) -> Transform
get_LeftRoot() overload
Sourcefn get_left_tip(self) -> Transform
fn get_left_tip(self) -> Transform
get_LeftTip() overload
Sourcefn get_human_animation_clip(self) -> AnimationClip
fn get_human_animation_clip(self) -> AnimationClip
get_HumanAnimationClip() overload
Sourcefn get_ride_animation_clip(self) -> AnimationClip
fn get_ride_animation_clip(self) -> AnimationClip
get_RideAnimationClip() overload
Sourcefn get_human_game_object(self) -> GameObject
fn get_human_game_object(self) -> GameObject
get_HumanGameObject() overload
Sourcefn get_base_game_object(self) -> GameObject
fn get_base_game_object(self) -> GameObject
get_BaseGameObject() overload
Sourcefn get_root_transform(self) -> Transform
fn get_root_transform(self) -> Transform
get_RootTransform() overload
Sourcefn get_item(self, joint_name: impl Into<Il2CppString>) -> Transform
fn get_item(self, joint_name: impl Into<Il2CppString>) -> Transform
get_Item(::unity::Il2CppString) overload
Sourcefn get_is_riding(self) -> bool
fn get_is_riding(self) -> bool
get_IsRiding() overload
Sourcefn get_is_flying(self) -> bool
fn get_is_flying(self) -> bool
get_IsFlying() overload
Sourcefn get_is_horse(self) -> bool
fn get_is_horse(self) -> bool
get_IsHorse() overload
Sourcefn get_is_valid(self) -> bool
fn get_is_valid(self) -> bool
get_IsValid() overload
Sourcefn set_is_valid(self, value: impl Into<bool>)
fn set_is_valid(self, value: impl Into<bool>)
set_IsValid(bool) overload
Sourcefn ctor(
self,
body_inst: impl Into<GameObject>,
body_anim: impl Into<AnimationClip>,
ride_inst: impl Into<GameObject>,
ride_anim: impl Into<AnimationClip>,
)
fn ctor( self, body_inst: impl Into<GameObject>, body_anim: impl Into<AnimationClip>, ride_inst: impl Into<GameObject>, ride_anim: impl Into<AnimationClip>, )
.ctor(crate::unity_engine::gameobject::GameObject, crate::unity_engine::animationclip::AnimationClip, crate::unity_engine::gameobject::GameObject, crate::unity_engine::animationclip::AnimationClip) overload
Sourcefn create_weapon_trail_slots(self)
fn create_weapon_trail_slots(self)
CreateWeaponTrailSlots() overload
Sourcefn create_slot(
self,
parent: impl Into<Transform>,
offset: impl Into<Vector3>,
name: impl Into<Il2CppString>,
) -> Transform
fn create_slot( self, parent: impl Into<Transform>, offset: impl Into<Vector3>, name: impl Into<Il2CppString>, ) -> Transform
CreateSlot(crate::unity_engine::transform::Transform, crate::unity_engine::vector3::Vector3, ::unity::Il2CppString) overload
Sourcefn clear_root_moved_after_evaluate(self)
fn clear_root_moved_after_evaluate(self)
ClearRootMovedAfterEvaluate() overload
Sourcefn add_destroyable_g_os(self, gos: impl Into<Array<GameObject>>)
fn add_destroyable_g_os(self, gos: impl Into<Array<GameObject>>)
AddDestroyableGOs(::unity::Array<crate::unity_engine::gameobject::GameObject>) 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: IPuppet> IPuppetMethods for __T
combat-puppet only.