Skip to main content

IPuppetMethods

Trait IPuppetMethods 

Source
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§

Source

fn get_right_root(self) -> Transform

get_RightRoot() overload

Source

fn get_right_tip(self) -> Transform

get_RightTip() overload

Source

fn get_left_root(self) -> Transform

get_LeftRoot() overload

Source

fn get_left_tip(self) -> Transform

get_LeftTip() overload

Source

fn get_human_animation_clip(self) -> AnimationClip

get_HumanAnimationClip() overload

Source

fn get_ride_animation_clip(self) -> AnimationClip

get_RideAnimationClip() overload

Source

fn get_human_game_object(self) -> GameObject

get_HumanGameObject() overload

Source

fn get_base_game_object(self) -> GameObject

get_BaseGameObject() overload

Source

fn get_root_transform(self) -> Transform

get_RootTransform() overload

Source

fn get_item(self, joint_name: impl Into<Il2CppString>) -> Transform

get_Item(::unity::Il2CppString) overload

Source

fn get_is_riding(self) -> bool

get_IsRiding() overload

Source

fn get_is_flying(self) -> bool

get_IsFlying() overload

Source

fn get_is_horse(self) -> bool

get_IsHorse() overload

Source

fn get_is_valid(self) -> bool

get_IsValid() overload

Source

fn set_is_valid(self, value: impl Into<bool>)

set_IsValid(bool) overload

Source

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

Source

fn create_weapon_trail_slots(self)

CreateWeaponTrailSlots() overload

Source

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

Source

fn dispose(self)

Dispose() overload

Source

fn evaluate(self, time: impl Into<f32>)

Evaluate(f32) overload

Source

fn clear_root_moved_after_evaluate(self)

ClearRootMovedAfterEvaluate() overload

Source

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§

Source§

impl<__T: IPuppet> IPuppetMethods for __T

Available on crate feature combat-puppet only.