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§
Sourcefn get_game_object(self) -> GameObject
fn get_game_object(self) -> GameObject
get_gameObject() overload
Sourcefn set_game_object(self, value: impl Into<GameObject>)
fn set_game_object(self, value: impl Into<GameObject>)
set_gameObject(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_animator(self) -> Animator
fn get_animator(self) -> Animator
get_animator() overload
Sourcefn set_animator(self, value: impl Into<Animator>)
fn set_animator(self, value: impl Into<Animator>)
set_animator(crate::unity_engine::animator::Animator) overload
Sourcefn get_clips(self) -> Array<AnimationClip>
fn get_clips(self) -> Array<AnimationClip>
get_clips() overload
Sourcefn set_clips(self, value: impl Into<Array<AnimationClip>>)
fn set_clips(self, value: impl Into<Array<AnimationClip>>)
set_clips(::unity::Array<crate::unity_engine::animationclip::AnimationClip>) overload
Sourcefn get_clip_names(self) -> Array<Il2CppString>
fn get_clip_names(self) -> Array<Il2CppString>
get_clipNames() overload
Sourcefn set_clip_names(self, value: impl Into<Array<Il2CppString>>)
fn set_clip_names(self, value: impl Into<Array<Il2CppString>>)
set_clipNames(::unity::Array<::unity::Il2CppString>) overload
Sourcefn get_playing(self) -> AnimationClip
fn get_playing(self) -> AnimationClip
get_Playing() overload
Sourcefn get_playing_clip_length(self) -> f32
fn get_playing_clip_length(self) -> f32
get_PlayingClipLength() overload
Sourcefn get_is_valid(self) -> bool
fn get_is_valid(self) -> bool
get_IsValid() overload
Sourcefn get_is_playing(self) -> bool
fn get_is_playing(self) -> bool
get_IsPlaying() overload
Sourcefn ctor(self, go: impl Into<GameObject>)
fn ctor(self, go: impl Into<GameObject>)
.ctor(crate::unity_engine::gameobject::GameObject) overload
Sourcefn find_index(self, name: impl Into<Il2CppString>) -> i32
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§
impl<__T: IAniBodyRide> IAniBodyRideMethods for __T
Available on crate feature
combat-anibodyride only.