Skip to main content

IAniBodyRideMethods

Trait IAniBodyRideMethods 

Source
pub trait IAniBodyRideMethods: IAniBodyRide {
Show 16 methods // Provided methods fn get_game_object(self) -> GameObject { ... } fn set_game_object(self, value: impl Into<GameObject>) { ... } fn get_animator(self) -> Animator { ... } fn set_animator(self, value: impl Into<Animator>) { ... } fn get_clips(self) -> Array<AnimationClip> { ... } fn set_clips(self, value: impl Into<Array<AnimationClip>>) { ... } fn get_clip_names(self) -> Array<Il2CppString> { ... } fn set_clip_names(self, value: impl Into<Array<Il2CppString>>) { ... } fn get_playing(self) -> AnimationClip { ... } fn get_playing_clip_length(self) -> f32 { ... } fn get_is_valid(self) -> bool { ... } fn get_is_playing(self) -> bool { ... } fn ctor(self, go: impl Into<GameObject>) { ... } fn evaluate(self, time: impl Into<f32>) { ... } fn play(self, index: impl Into<i32>) { ... } fn find_index(self, name: impl Into<Il2CppString>) -> i32 { ... }
}

Provided Methods§

Source

fn get_game_object(self) -> GameObject

get_gameObject() overload

Source

fn set_game_object(self, value: impl Into<GameObject>)

set_gameObject(crate::unity_engine::gameobject::GameObject) overload

Source

fn get_animator(self) -> Animator

get_animator() overload

Source

fn set_animator(self, value: impl Into<Animator>)

set_animator(crate::unity_engine::animator::Animator) overload

Source

fn get_clips(self) -> Array<AnimationClip>

get_clips() overload

Source

fn set_clips(self, value: impl Into<Array<AnimationClip>>)

set_clips(::unity::Array<crate::unity_engine::animationclip::AnimationClip>) overload

Source

fn get_clip_names(self) -> Array<Il2CppString>

get_clipNames() overload

Source

fn set_clip_names(self, value: impl Into<Array<Il2CppString>>)

set_clipNames(::unity::Array<::unity::Il2CppString>) overload

Source

fn get_playing(self) -> AnimationClip

get_Playing() overload

Source

fn get_playing_clip_length(self) -> f32

get_PlayingClipLength() overload

Source

fn get_is_valid(self) -> bool

get_IsValid() overload

Source

fn get_is_playing(self) -> bool

get_IsPlaying() overload

Source

fn ctor(self, go: impl Into<GameObject>)

.ctor(crate::unity_engine::gameobject::GameObject) overload

Source

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

Evaluate(f32) overload

Source

fn play(self, index: impl Into<i32>)

Play(i32) overload

Source

fn find_index(self, name: impl Into<Il2CppString>) -> i32

FindIndex(::unity::Il2CppString) 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: IAniBodyRide> IAniBodyRideMethods for __T

Available on crate feature combat-anibodyride only.