pub struct Animation(/* private fields */);Expand description
IL2CPP class: UnityEngine.Animation
Inherits: Behaviour
Implementations§
Source§impl Animation
impl Animation
pub fn get_clip_method_info() -> &'static MethodInfo
pub fn set_clip_method_info() -> &'static MethodInfo
pub fn get_play_automatically_method_info() -> &'static MethodInfo
pub fn set_play_automatically_method_info() -> &'static MethodInfo
pub fn get_wrap_mode_method_info() -> &'static MethodInfo
pub fn set_wrap_mode_method_info() -> &'static MethodInfo
pub fn stop_method_info() -> &'static MethodInfo
pub fn stop_2_method_info() -> &'static MethodInfo
pub fn stop_named_method_info() -> &'static MethodInfo
pub fn rewind_method_info() -> &'static MethodInfo
pub fn rewind_2_method_info() -> &'static MethodInfo
pub fn rewind_named_method_info() -> &'static MethodInfo
pub fn sample_method_info() -> &'static MethodInfo
pub fn get_is_playing_method_info() -> &'static MethodInfo
pub fn is_playing_method_info() -> &'static MethodInfo
pub fn get_item_method_info() -> &'static MethodInfo
pub fn play_method_info() -> &'static MethodInfo
pub fn play_2_method_info() -> &'static MethodInfo
pub fn play_default_animation_method_info() -> &'static MethodInfo
pub fn play_3_method_info() -> &'static MethodInfo
pub fn play_4_method_info() -> &'static MethodInfo
pub fn cross_fade_method_info() -> &'static MethodInfo
pub fn cross_fade_2_method_info() -> &'static MethodInfo
pub fn cross_fade_3_method_info() -> &'static MethodInfo
pub fn blend_method_info() -> &'static MethodInfo
pub fn blend_2_method_info() -> &'static MethodInfo
pub fn blend_3_method_info() -> &'static MethodInfo
pub fn cross_fade_queued_method_info() -> &'static MethodInfo
pub fn cross_fade_queued_2_method_info() -> &'static MethodInfo
pub fn cross_fade_queued_3_method_info() -> &'static MethodInfo
pub fn cross_fade_queued_4_method_info() -> &'static MethodInfo
pub fn play_queued_method_info() -> &'static MethodInfo
pub fn play_queued_2_method_info() -> &'static MethodInfo
pub fn play_queued_3_method_info() -> &'static MethodInfo
pub fn add_clip_method_info() -> &'static MethodInfo
pub fn add_clip_2_method_info() -> &'static MethodInfo
pub fn add_clip_3_method_info() -> &'static MethodInfo
pub fn remove_clip_method_info() -> &'static MethodInfo
pub fn remove_clip_2_method_info() -> &'static MethodInfo
pub fn remove_clip_named_method_info() -> &'static MethodInfo
pub fn get_clip_count_method_info() -> &'static MethodInfo
pub fn play_5_method_info() -> &'static MethodInfo
pub fn play_6_method_info() -> &'static MethodInfo
pub fn sync_layer_method_info() -> &'static MethodInfo
pub fn get_enumerator_method_info() -> &'static MethodInfo
pub fn get_state_method_info() -> &'static MethodInfo
pub fn get_state_at_index_method_info() -> &'static MethodInfo
pub fn get_state_count_method_info() -> &'static MethodInfo
pub fn get_clip_2_method_info() -> &'static MethodInfo
pub fn get_animate_physics_method_info() -> &'static MethodInfo
pub fn set_animate_physics_method_info() -> &'static MethodInfo
pub fn get_animate_only_if_visible_method_info() -> &'static MethodInfo
pub fn set_animate_only_if_visible_method_info() -> &'static MethodInfo
pub fn get_culling_type_method_info() -> &'static MethodInfo
pub fn set_culling_type_method_info() -> &'static MethodInfo
pub fn get_local_bounds_method_info() -> &'static MethodInfo
pub fn set_local_bounds_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_local_bounds_injected_method_info() -> &'static MethodInfo
pub fn set_local_bounds_injected_method_info() -> &'static MethodInfo
Source§impl Animation
impl Animation
Sourcepub unsafe fn get_enumerator(this: impl Into<IlInstance>) -> IEnumerator
pub unsafe fn get_enumerator(this: impl Into<IlInstance>) -> IEnumerator
Direct (non-virtual) call to Animation’s own GetEnumerator. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Trait Implementations§
Source§impl ClassIdentity for Animation
impl ClassIdentity for Animation
Source§impl FromIlInstance for Animation
impl FromIlInstance for Animation
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
Caller swears
class is a subtype of Self or layout compatibleSource§impl IObject_2 for Animation
impl IObject_2 for Animation
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
impl Copy for Animation
impl IAnimation for Animation
impl IBehaviour for Animation
impl IComponent for Animation
impl IObject for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl !Send for Animation
impl !Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<__T> IAnimationMethods for __Twhere
__T: IAnimation,
impl<__T> IAnimationMethods for __Twhere
__T: IAnimation,
Source§fn get_clip(self) -> AnimationClip
fn get_clip(self) -> AnimationClip
get_clip() overloadSource§fn set_clip(self, value: impl Into<AnimationClip>)
fn set_clip(self, value: impl Into<AnimationClip>)
set_clip(crate::unity_engine::animationclip::AnimationClip) overloadSource§fn get_play_automatically(self) -> bool
fn get_play_automatically(self) -> bool
get_playAutomatically() overloadSource§fn set_play_automatically(self, value: impl Into<bool>)
fn set_play_automatically(self, value: impl Into<bool>)
set_playAutomatically(bool) overloadSource§fn get_wrap_mode(self) -> WrapMode
fn get_wrap_mode(self) -> WrapMode
get_wrapMode() overloadSource§fn set_wrap_mode(self, value: impl Into<WrapMode>)
fn set_wrap_mode(self, value: impl Into<WrapMode>)
set_wrapMode(crate::unity_engine::wrapmode::WrapMode) overloadSource§fn stop_2(self, name: impl Into<Il2CppString>)
fn stop_2(self, name: impl Into<Il2CppString>)
Stop(::unity::Il2CppString) overloadSource§fn stop_named(self, name: impl Into<Il2CppString>)
fn stop_named(self, name: impl Into<Il2CppString>)
StopNamed(::unity::Il2CppString) overloadSource§fn rewind_2(self, name: impl Into<Il2CppString>)
fn rewind_2(self, name: impl Into<Il2CppString>)
Rewind(::unity::Il2CppString) overloadSource§fn rewind_named(self, name: impl Into<Il2CppString>)
fn rewind_named(self, name: impl Into<Il2CppString>)
RewindNamed(::unity::Il2CppString) overloadSource§fn get_is_playing(self) -> bool
fn get_is_playing(self) -> bool
get_isPlaying() overloadSource§fn is_playing(self, name: impl Into<Il2CppString>) -> bool
fn is_playing(self, name: impl Into<Il2CppString>) -> bool
IsPlaying(::unity::Il2CppString) overloadSource§fn get_item(self, name: impl Into<Il2CppString>) -> AnimationState
fn get_item(self, name: impl Into<Il2CppString>) -> AnimationState
get_Item(::unity::Il2CppString) overloadSource§fn play_2(self, mode: impl Into<PlayMode>) -> bool
fn play_2(self, mode: impl Into<PlayMode>) -> bool
Play(crate::unity_engine::playmode::PlayMode) overloadSource§fn play_default_animation(self, mode: impl Into<PlayMode>) -> bool
fn play_default_animation(self, mode: impl Into<PlayMode>) -> bool
PlayDefaultAnimation(crate::unity_engine::playmode::PlayMode) overloadSource§fn play_3(self, animation: impl Into<Il2CppString>) -> bool
fn play_3(self, animation: impl Into<Il2CppString>) -> bool
Play(::unity::Il2CppString) overloadSource§fn play_4(
self,
animation: impl Into<Il2CppString>,
mode: impl Into<PlayMode>,
) -> bool
fn play_4( self, animation: impl Into<Il2CppString>, mode: impl Into<PlayMode>, ) -> bool
Play(::unity::Il2CppString, crate::unity_engine::playmode::PlayMode) overloadSource§fn cross_fade(self, animation: impl Into<Il2CppString>)
fn cross_fade(self, animation: impl Into<Il2CppString>)
CrossFade(::unity::Il2CppString) overloadSource§fn cross_fade_2(
self,
animation: impl Into<Il2CppString>,
fade_length: impl Into<f32>,
)
fn cross_fade_2( self, animation: impl Into<Il2CppString>, fade_length: impl Into<f32>, )
CrossFade(::unity::Il2CppString, f32) overloadSource§fn cross_fade_3(
self,
animation: impl Into<Il2CppString>,
fade_length: impl Into<f32>,
mode: impl Into<PlayMode>,
)
fn cross_fade_3( self, animation: impl Into<Il2CppString>, fade_length: impl Into<f32>, mode: impl Into<PlayMode>, )
CrossFade(::unity::Il2CppString, f32, crate::unity_engine::playmode::PlayMode) overloadSource§fn blend(self, animation: impl Into<Il2CppString>)
fn blend(self, animation: impl Into<Il2CppString>)
Blend(::unity::Il2CppString) overloadSource§fn blend_2(
self,
animation: impl Into<Il2CppString>,
target_weight: impl Into<f32>,
)
fn blend_2( self, animation: impl Into<Il2CppString>, target_weight: impl Into<f32>, )
Blend(::unity::Il2CppString, f32) overloadSource§fn blend_3(
self,
animation: impl Into<Il2CppString>,
target_weight: impl Into<f32>,
fade_length: impl Into<f32>,
)
fn blend_3( self, animation: impl Into<Il2CppString>, target_weight: impl Into<f32>, fade_length: impl Into<f32>, )
Blend(::unity::Il2CppString, f32, f32) overloadSource§fn cross_fade_queued(self, animation: impl Into<Il2CppString>) -> AnimationState
fn cross_fade_queued(self, animation: impl Into<Il2CppString>) -> AnimationState
CrossFadeQueued(::unity::Il2CppString) overloadSource§fn cross_fade_queued_2(
self,
animation: impl Into<Il2CppString>,
fade_length: impl Into<f32>,
) -> AnimationState
fn cross_fade_queued_2( self, animation: impl Into<Il2CppString>, fade_length: impl Into<f32>, ) -> AnimationState
CrossFadeQueued(::unity::Il2CppString, f32) overloadSource§fn cross_fade_queued_3(
self,
animation: impl Into<Il2CppString>,
fade_length: impl Into<f32>,
queue: impl Into<QueueMode>,
) -> AnimationState
fn cross_fade_queued_3( self, animation: impl Into<Il2CppString>, fade_length: impl Into<f32>, queue: impl Into<QueueMode>, ) -> AnimationState
CrossFadeQueued(::unity::Il2CppString, f32, crate::unity_engine::queuemode::QueueMode) overloadSource§fn cross_fade_queued_4(
self,
animation: impl Into<Il2CppString>,
fade_length: impl Into<f32>,
queue: impl Into<QueueMode>,
mode: impl Into<PlayMode>,
) -> AnimationState
fn cross_fade_queued_4( self, animation: impl Into<Il2CppString>, fade_length: impl Into<f32>, queue: impl Into<QueueMode>, mode: impl Into<PlayMode>, ) -> AnimationState
CrossFadeQueued(::unity::Il2CppString, f32, crate::unity_engine::queuemode::QueueMode, crate::unity_engine::playmode::PlayMode) overloadSource§fn play_queued(self, animation: impl Into<Il2CppString>) -> AnimationState
fn play_queued(self, animation: impl Into<Il2CppString>) -> AnimationState
PlayQueued(::unity::Il2CppString) overloadSource§fn play_queued_2(
self,
animation: impl Into<Il2CppString>,
queue: impl Into<QueueMode>,
) -> AnimationState
fn play_queued_2( self, animation: impl Into<Il2CppString>, queue: impl Into<QueueMode>, ) -> AnimationState
PlayQueued(::unity::Il2CppString, crate::unity_engine::queuemode::QueueMode) overloadSource§fn play_queued_3(
self,
animation: impl Into<Il2CppString>,
queue: impl Into<QueueMode>,
mode: impl Into<PlayMode>,
) -> AnimationState
fn play_queued_3( self, animation: impl Into<Il2CppString>, queue: impl Into<QueueMode>, mode: impl Into<PlayMode>, ) -> AnimationState
PlayQueued(::unity::Il2CppString, crate::unity_engine::queuemode::QueueMode, crate::unity_engine::playmode::PlayMode) overloadSource§fn add_clip(
self,
clip: impl Into<AnimationClip>,
new_name: impl Into<Il2CppString>,
)
fn add_clip( self, clip: impl Into<AnimationClip>, new_name: impl Into<Il2CppString>, )
AddClip(crate::unity_engine::animationclip::AnimationClip, ::unity::Il2CppString) overloadSource§fn add_clip_2(
self,
clip: impl Into<AnimationClip>,
new_name: impl Into<Il2CppString>,
first_frame: impl Into<i32>,
last_frame: impl Into<i32>,
)
fn add_clip_2( self, clip: impl Into<AnimationClip>, new_name: impl Into<Il2CppString>, first_frame: impl Into<i32>, last_frame: impl Into<i32>, )
AddClip(crate::unity_engine::animationclip::AnimationClip, ::unity::Il2CppString, i32, i32) overloadSource§fn add_clip_3(
self,
clip: impl Into<AnimationClip>,
new_name: impl Into<Il2CppString>,
first_frame: impl Into<i32>,
last_frame: impl Into<i32>,
add_loop_frame: impl Into<bool>,
)
fn add_clip_3( self, clip: impl Into<AnimationClip>, new_name: impl Into<Il2CppString>, first_frame: impl Into<i32>, last_frame: impl Into<i32>, add_loop_frame: impl Into<bool>, )
AddClip(crate::unity_engine::animationclip::AnimationClip, ::unity::Il2CppString, i32, i32, bool) overloadSource§fn remove_clip(self, clip: impl Into<AnimationClip>)
fn remove_clip(self, clip: impl Into<AnimationClip>)
RemoveClip(crate::unity_engine::animationclip::AnimationClip) overloadSource§fn remove_clip_2(self, clip_name: impl Into<Il2CppString>)
fn remove_clip_2(self, clip_name: impl Into<Il2CppString>)
RemoveClip(::unity::Il2CppString) overloadSource§fn remove_clip_named(self, clip_name: impl Into<Il2CppString>)
fn remove_clip_named(self, clip_name: impl Into<Il2CppString>)
RemoveClipNamed(::unity::Il2CppString) overloadSource§fn get_clip_count(self) -> i32
fn get_clip_count(self) -> i32
GetClipCount() overloadSource§fn play_5(self, mode: impl Into<AnimationPlayMode>) -> bool
fn play_5(self, mode: impl Into<AnimationPlayMode>) -> bool
Play(crate::unity_engine::animationplaymode::AnimationPlayMode) overloadSource§fn play_6(
self,
animation: impl Into<Il2CppString>,
mode: impl Into<AnimationPlayMode>,
) -> bool
fn play_6( self, animation: impl Into<Il2CppString>, mode: impl Into<AnimationPlayMode>, ) -> bool
Play(::unity::Il2CppString, crate::unity_engine::animationplaymode::AnimationPlayMode) overloadSource§fn sync_layer(self, layer: impl Into<i32>)
fn sync_layer(self, layer: impl Into<i32>)
SyncLayer(i32) overloadSource§fn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() overloadSource§fn get_state(self, name: impl Into<Il2CppString>) -> AnimationState
fn get_state(self, name: impl Into<Il2CppString>) -> AnimationState
GetState(::unity::Il2CppString) overloadSource§fn get_state_at_index(self, index: impl Into<i32>) -> AnimationState
fn get_state_at_index(self, index: impl Into<i32>) -> AnimationState
GetStateAtIndex(i32) overloadSource§fn get_state_count(self) -> i32
fn get_state_count(self) -> i32
GetStateCount() overloadSource§fn get_clip_2(self, name: impl Into<Il2CppString>) -> AnimationClip
fn get_clip_2(self, name: impl Into<Il2CppString>) -> AnimationClip
GetClip(::unity::Il2CppString) overloadSource§fn get_animate_physics(self) -> bool
fn get_animate_physics(self) -> bool
get_animatePhysics() overloadSource§fn set_animate_physics(self, value: impl Into<bool>)
fn set_animate_physics(self, value: impl Into<bool>)
set_animatePhysics(bool) overloadSource§fn get_animate_only_if_visible(self) -> bool
fn get_animate_only_if_visible(self) -> bool
get_animateOnlyIfVisible() overloadSource§fn set_animate_only_if_visible(self, value: impl Into<bool>)
fn set_animate_only_if_visible(self, value: impl Into<bool>)
set_animateOnlyIfVisible(bool) overloadSource§fn get_culling_type(self) -> AnimationCullingType
fn get_culling_type(self) -> AnimationCullingType
get_cullingType() overloadSource§fn set_culling_type(self, value: impl Into<AnimationCullingType>)
fn set_culling_type(self, value: impl Into<AnimationCullingType>)
set_cullingType(crate::unity_engine::animationcullingtype::AnimationCullingType) overloadSource§fn get_local_bounds(self) -> Bounds
fn get_local_bounds(self) -> Bounds
get_localBounds() overloadSource§fn set_local_bounds(self, value: impl Into<Bounds>)
fn set_local_bounds(self, value: impl Into<Bounds>)
set_localBounds(crate::unity_engine::bounds::Bounds) overloadSource§fn get_local_bounds_injected(self) -> Bounds
fn get_local_bounds_injected(self) -> Bounds
get_localBounds_Injected(*mutcrate::unity_engine::bounds::Bounds) overloadSource§fn set_local_bounds_injected(self) -> Bounds
fn set_local_bounds_injected(self) -> Bounds
set_localBounds_Injected(*mutcrate::unity_engine::bounds::Bounds) overloadSource§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IBehaviourMethods for __Twhere
__T: IBehaviour,
impl<__T> IBehaviourMethods for __Twhere
__T: IBehaviour,
Source§fn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overloadSource§fn set_enabled(self, value: impl Into<bool>)
fn set_enabled(self, value: impl Into<bool>)
set_enabled(bool) overloadSource§fn get_is_active_and_enabled(self) -> bool
fn get_is_active_and_enabled(self) -> bool
get_isActiveAndEnabled() overloadSource§impl<__T> IComponentMethods for __Twhere
__T: IComponent,
impl<__T> IComponentMethods for __Twhere
__T: IComponent,
Source§fn get_transform(self) -> Transform
fn get_transform(self) -> Transform
get_transform() overloadSource§fn get_game_object(self) -> GameObject
fn get_game_object(self) -> GameObject
get_gameObject() overloadSource§fn get_component(self, type: impl Into<SystemType>) -> Component
fn get_component(self, type: impl Into<SystemType>) -> Component
GetComponent(::unity::SystemType) overloadSource§fn get_component_fast_path(
self,
type: impl Into<SystemType>,
one_further_than_result_value: impl Into<IntPtr>,
)
fn get_component_fast_path( self, type: impl Into<SystemType>, one_further_than_result_value: impl Into<IntPtr>, )
GetComponentFastPath(::unity::SystemType, ::unity::IntPtr) overloadfn get_component_2<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn try_get_component<M0: IlType + Copy + ClassIdentity>( self, component: impl Into<*mut M0>, ) -> bool
Source§fn get_component_in_children(
self,
t: impl Into<SystemType>,
include_inactive: impl Into<bool>,
) -> Component
fn get_component_in_children( self, t: impl Into<SystemType>, include_inactive: impl Into<bool>, ) -> Component
GetComponentInChildren(::unity::SystemType, bool) overloadfn get_component_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> M0
fn get_component_in_children_3<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn get_components_in_children<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>
fn get_components_in_children_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, result: impl Into<List_1<M0>>, )
fn get_components_in_children_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>
fn get_components_in_children_4<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )
Source§fn get_component_in_parent(self, t: impl Into<SystemType>) -> Component
fn get_component_in_parent(self, t: impl Into<SystemType>) -> Component
GetComponentInParent(::unity::SystemType) overloadfn get_component_in_parent_2<M0: IlType + Copy + ClassIdentity>(self) -> M0
fn get_components_in_parent<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, ) -> Array<M0>
fn get_components_in_parent_2<M0: IlType + Copy + ClassIdentity>( self, include_inactive: impl Into<bool>, results: impl Into<List_1<M0>>, )
fn get_components_in_parent_3<M0: IlType + Copy + ClassIdentity>( self, ) -> Array<M0>
Source§fn get_components_for_list_internal(
self,
search_type: impl Into<SystemType>,
result_list: impl Into<Object>,
)
fn get_components_for_list_internal( self, search_type: impl Into<SystemType>, result_list: impl Into<Object>, )
GetComponentsForListInternal(::unity::SystemType, crate::system::object::Object) overloadSource§fn get_components(
self,
type: impl Into<SystemType>,
results: impl Into<List_1<Component>>,
)
fn get_components( self, type: impl Into<SystemType>, results: impl Into<List_1<Component>>, )
GetComponents(::unity::SystemType, crate::system::collections::generic::list_1::List_1<crate::unity_engine::component::Component>) overloadfn get_components_2<M0: IlType + Copy + ClassIdentity>( self, results: impl Into<List_1<M0>>, )
Source§fn get_tag(self) -> Il2CppString
fn get_tag(self) -> Il2CppString
get_tag() overloadSource§fn set_tag(self, value: impl Into<Il2CppString>)
fn set_tag(self, value: impl Into<Il2CppString>)
set_tag(::unity::Il2CppString) overloadfn get_components_3<M0: IlType + Copy + ClassIdentity>(self) -> Array<M0>
Source§fn compare_tag(self, tag: impl Into<Il2CppString>) -> bool
fn compare_tag(self, tag: impl Into<Il2CppString>) -> bool
CompareTag(::unity::Il2CppString) overloadSource§impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
Source§impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn resolve(self, resolver: IExposedPropertyTable) -> T0where
Self: Sized,
Source§impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: HashSet_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn initialize() -> IntPtr
Source§impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
Source§impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, initialize: bool)where
Self: Sized,
fn ctor_2(self, max_capacity: i32)where
Self: Sized,
fn add_range(self, items: IEnumerable_1<T0>)where
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_buffer(self, index: i32) -> Array<T0>where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn try_move(self) -> (bool, Array<T0>)where
Self: Sized,
fn allocate_buffer(self)where
Self: Sized,
Source§impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: LinkedList_1<T0>)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
Source§impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_count(self) -> i32where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_item(self) -> (*mut T0, i32)where
Self: Sized,
fn get_unchecked(self) -> (*mut T0, i32)where
Self: Sized,
fn try_add(self) -> (bool, T0)where
Self: Sized,
fn try_copy_to(self, other: ListBuffer_1<T0>) -> boolwhere
Self: Sized,
Source§impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: List_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn move_next_rare(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IObjectMethods for __Twhere
__T: IObject,
impl<__T> IObjectMethods for __Twhere
__T: IObject,
Source§fn equals(self, obj: impl Into<Object>) -> bool
fn equals(self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn memberwise_clone(self) -> Object
fn memberwise_clone(self) -> Object
MemberwiseClone() overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§fn field_getter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
) -> IlInstance
fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance
FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overloadSource§fn field_setter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
val: impl Into<Object>,
)
fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )
FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overloadSource§impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)where
Self: Sized,
fn system_i_disposable_dispose(self)where
Self: Sized,
Source§impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
impl<__T> IObject_2Methods for __Twhere
__T: IObject_2,
Source§fn get_instance_id(self) -> i32
fn get_instance_id(self) -> i32
GetInstanceID() overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn equals(self, other: impl Into<Object>) -> bool
fn equals(self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn ensure_running_on_main_thread(self)
fn ensure_running_on_main_thread(self)
EnsureRunningOnMainThread() overloadSource§fn get_cached_ptr(self) -> IntPtr
fn get_cached_ptr(self) -> IntPtr
GetCachedPtr() overloadSource§fn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_name() overloadSource§fn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overloadSource§fn get_hide_flags(self) -> HideFlags
fn get_hide_flags(self) -> HideFlags
get_hideFlags() overloadSource§fn set_hide_flags(self, value: impl Into<HideFlags>)
fn set_hide_flags(self, value: impl Into<HideFlags>)
set_hideFlags(crate::unity_engine::hideflags::HideFlags) overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload