pub struct Button(/* private fields */);Expand description
IL2CPP class: UnityEngine.UI.Button
Inherits: Selectable
Implementations§
Source§impl Button
impl Button
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_on_click_method_info() -> &'static MethodInfo
pub fn set_on_click_method_info() -> &'static MethodInfo
pub fn press_method_info() -> &'static MethodInfo
pub fn on_pointer_click_method_info() -> &'static MethodInfo
pub fn on_submit_method_info() -> &'static MethodInfo
pub fn on_finish_submit_method_info() -> &'static MethodInfo
Source§impl Button
impl Button
Sourcepub unsafe fn on_pointer_click(
this: impl Into<IlInstance>,
event_data: PointerEventData,
)
pub unsafe fn on_pointer_click( this: impl Into<IlInstance>, event_data: PointerEventData, )
Direct (non-virtual) call to Button’s own OnPointerClick. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn on_submit(this: impl Into<IlInstance>, event_data: BaseEventData)
pub unsafe fn on_submit(this: impl Into<IlInstance>, event_data: BaseEventData)
Direct (non-virtual) call to Button’s own OnSubmit. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Trait Implementations§
Source§impl ClassIdentity for Button
impl ClassIdentity for Button
Source§impl FromIlInstance for Button
impl FromIlInstance for Button
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 IButton for Button
impl IButton for Button
fn m_on_click(self) -> Button_ButtonClickedEvent
fn set_m_on_click(self, value: Button_ButtonClickedEvent)
Source§impl IObject_2 for Button
impl IObject_2 for Button
fn m_cached_ptr(self) -> IntPtr
fn set_m_cached_ptr(self, value: IntPtr)
Source§impl ISelectable for Button
impl ISelectable for Button
fn m_enable_called(self) -> bool
fn set_m_enable_called(self, value: bool)
fn m_transition(self) -> Selectable_Transition
fn set_m_transition(self, value: Selectable_Transition)
fn m_colors(self) -> ColorBlock
fn set_m_colors(self, value: ColorBlock)
fn m_sprite_state(self) -> SpriteState
fn set_m_sprite_state(self, value: SpriteState)
fn m_animation_triggers(self) -> AnimationTriggers
fn set_m_animation_triggers(self, value: AnimationTriggers)
fn m_interactable(self) -> bool
fn set_m_interactable(self, value: bool)
fn m_target_graphic(self) -> Graphic
fn set_m_target_graphic(self, value: Graphic)
fn m_groups_allow_interaction(self) -> bool
fn set_m_groups_allow_interaction(self, value: bool)
fn m_current_index(self) -> i32
fn set_m_current_index(self, value: i32)
fn m_canvas_group_cache(self) -> List_1<CanvasGroup>
fn set_m_canvas_group_cache(self, value: List_1<CanvasGroup>)
impl Copy for Button
impl IBehaviour for Button
impl IComponent for Button
impl IMonoBehaviour for Button
impl IObject for Button
impl IUIBehaviour for Button
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl !Send for Button
impl !Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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<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> IButtonMethods for __Twhere
__T: IButton,
impl<__T> IButtonMethods for __Twhere
__T: IButton,
Source§fn get_on_click(self) -> Button_ButtonClickedEvent
fn get_on_click(self) -> Button_ButtonClickedEvent
get_onClick() overloadSource§fn set_on_click(self, value: impl Into<Button_ButtonClickedEvent>)
fn set_on_click(self, value: impl Into<Button_ButtonClickedEvent>)
set_onClick(crate::unity_engine::ui::button::Button_ButtonClickedEvent) overloadSource§fn on_pointer_click(self, event_data: impl Into<PointerEventData>)
fn on_pointer_click(self, event_data: impl Into<PointerEventData>)
OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overloadSource§fn on_submit(self, event_data: impl Into<BaseEventData>)
fn on_submit(self, event_data: impl Into<BaseEventData>)
OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overloadSource§fn on_finish_submit(self) -> IEnumerator
fn on_finish_submit(self) -> IEnumerator
OnFinishSubmit() 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> IMonoBehaviourMethods for __Twhere
__T: IMonoBehaviour,
impl<__T> IMonoBehaviourMethods for __Twhere
__T: IMonoBehaviour,
Source§fn is_invoking(self) -> bool
fn is_invoking(self) -> bool
IsInvoking() overloadSource§fn cancel_invoke(self)
fn cancel_invoke(self)
CancelInvoke() overloadSource§fn invoke(self, method_name: impl Into<Il2CppString>, time: impl Into<f32>)
fn invoke(self, method_name: impl Into<Il2CppString>, time: impl Into<f32>)
Invoke(::unity::Il2CppString, f32) overloadSource§fn invoke_repeating(
self,
method_name: impl Into<Il2CppString>,
time: impl Into<f32>,
repeat_rate: impl Into<f32>,
)
fn invoke_repeating( self, method_name: impl Into<Il2CppString>, time: impl Into<f32>, repeat_rate: impl Into<f32>, )
InvokeRepeating(::unity::Il2CppString, f32, f32) overloadSource§fn cancel_invoke_2(self, method_name: impl Into<Il2CppString>)
fn cancel_invoke_2(self, method_name: impl Into<Il2CppString>)
CancelInvoke(::unity::Il2CppString) overloadSource§fn is_invoking_2(self, method_name: impl Into<Il2CppString>) -> bool
fn is_invoking_2(self, method_name: impl Into<Il2CppString>) -> bool
IsInvoking(::unity::Il2CppString) overloadSource§fn start_coroutine(self, method_name: impl Into<Il2CppString>) -> Coroutine
fn start_coroutine(self, method_name: impl Into<Il2CppString>) -> Coroutine
StartCoroutine(::unity::Il2CppString) overloadSource§fn start_coroutine_2(
self,
method_name: impl Into<Il2CppString>,
value: impl Into<Object>,
) -> Coroutine
fn start_coroutine_2( self, method_name: impl Into<Il2CppString>, value: impl Into<Object>, ) -> Coroutine
StartCoroutine(::unity::Il2CppString, crate::system::object::Object) overloadSource§fn start_coroutine_3(self, routine: impl Into<IEnumerator>) -> Coroutine
fn start_coroutine_3(self, routine: impl Into<IEnumerator>) -> Coroutine
StartCoroutine(crate::system::collections::ienumerator::IEnumerator) overloadSource§fn start_coroutine_auto(self, routine: impl Into<IEnumerator>) -> Coroutine
fn start_coroutine_auto(self, routine: impl Into<IEnumerator>) -> Coroutine
StartCoroutine_Auto(crate::system::collections::ienumerator::IEnumerator) overloadSource§fn stop_coroutine(self, routine: impl Into<IEnumerator>)
fn stop_coroutine(self, routine: impl Into<IEnumerator>)
StopCoroutine(crate::system::collections::ienumerator::IEnumerator) overloadSource§fn stop_coroutine_2(self, routine: impl Into<Coroutine>)
fn stop_coroutine_2(self, routine: impl Into<Coroutine>)
StopCoroutine(crate::unity_engine::coroutine::Coroutine) overloadSource§fn stop_coroutine_3(self, method_name: impl Into<Il2CppString>)
fn stop_coroutine_3(self, method_name: impl Into<Il2CppString>)
StopCoroutine(::unity::Il2CppString) overloadSource§fn stop_all_coroutines(self)
fn stop_all_coroutines(self)
StopAllCoroutines() overloadSource§fn get_use_gui_layout(self) -> bool
fn get_use_gui_layout(self) -> bool
get_useGUILayout() overloadSource§fn set_use_gui_layout(self, value: impl Into<bool>)
fn set_use_gui_layout(self, value: impl Into<bool>)
set_useGUILayout(bool) overloadSource§fn start_coroutine_managed(
self,
method_name: impl Into<Il2CppString>,
value: impl Into<Object>,
) -> Coroutine
fn start_coroutine_managed( self, method_name: impl Into<Il2CppString>, value: impl Into<Object>, ) -> Coroutine
StartCoroutineManaged(::unity::Il2CppString, crate::system::object::Object) overloadSource§fn start_coroutine_managed2(
self,
enumerator: impl Into<IEnumerator>,
) -> Coroutine
fn start_coroutine_managed2( self, enumerator: impl Into<IEnumerator>, ) -> Coroutine
StartCoroutineManaged2(crate::system::collections::ienumerator::IEnumerator) overloadSource§fn stop_coroutine_managed(self, routine: impl Into<Coroutine>)
fn stop_coroutine_managed(self, routine: impl Into<Coroutine>)
StopCoroutineManaged(crate::unity_engine::coroutine::Coroutine) overloadSource§fn stop_coroutine_from_enumerator_managed(self, routine: impl Into<IEnumerator>)
fn stop_coroutine_from_enumerator_managed(self, routine: impl Into<IEnumerator>)
StopCoroutineFromEnumeratorManaged(crate::system::collections::ienumerator::IEnumerator) overloadSource§fn get_script_class_name(self) -> Il2CppString
fn get_script_class_name(self) -> Il2CppString
GetScriptClassName() overloadSource§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() overloadSource§impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, q: Queue_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 throw_enumeration_not_started_or_ended(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,
Source§impl<T0, __U> IScriptPlayable_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IScriptPlayable_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_null() -> ScriptPlayable_1<T0>
fn create(graph: PlayableGraph, input_count: i32) -> ScriptPlayable_1<T0>
fn create_2( graph: PlayableGraph, template: T0, input_count: i32, ) -> ScriptPlayable_1<T0>
fn create_handle( graph: PlayableGraph, template: T0, input_count: i32, ) -> PlayableHandle
fn create_script_instance() -> Object
fn clone_script_instance(source: IPlayableBehaviour_Interface) -> Object
fn clone_script_instance_from_engine_object(source: Object_2) -> Object
fn ctor(self, handle: PlayableHandle)where
Self: Sized,
fn get_handle(self) -> PlayableHandlewhere
Self: Sized,
fn get_behaviour(self) -> T0where
Self: Sized,
fn op_implicit(playable: ScriptPlayable_1<T0>) -> Playable
fn op_explicit(playable: Playable) -> ScriptPlayable_1<T0>
fn equals(self, other: ScriptPlayable_1<T0>) -> boolwhere
Self: Sized,
fn cctor()
Source§impl<__T> ISelectableMethods for __Twhere
__T: ISelectable,
impl<__T> ISelectableMethods for __Twhere
__T: ISelectable,
get_navigation() overloadset_navigation(crate::unity_engine::ui::navigation::Navigation) overloadSource§fn get_transition(self) -> Selectable_Transition
fn get_transition(self) -> Selectable_Transition
get_transition() overloadSource§fn set_transition(self, value: impl Into<Selectable_Transition>)
fn set_transition(self, value: impl Into<Selectable_Transition>)
set_transition(crate::unity_engine::ui::selectable::Selectable_Transition) overloadSource§fn get_colors(self) -> ColorBlock
fn get_colors(self) -> ColorBlock
get_colors() overloadSource§fn set_colors(self, value: impl Into<ColorBlock>)
fn set_colors(self, value: impl Into<ColorBlock>)
set_colors(crate::unity_engine::ui::colorblock::ColorBlock) overloadSource§fn get_sprite_state(self) -> SpriteState
fn get_sprite_state(self) -> SpriteState
get_spriteState() overloadSource§fn set_sprite_state(self, value: impl Into<SpriteState>)
fn set_sprite_state(self, value: impl Into<SpriteState>)
set_spriteState(crate::unity_engine::ui::spritestate::SpriteState) overloadSource§fn get_animation_triggers(self) -> AnimationTriggers
fn get_animation_triggers(self) -> AnimationTriggers
get_animationTriggers() overloadSource§fn set_animation_triggers(self, value: impl Into<AnimationTriggers>)
fn set_animation_triggers(self, value: impl Into<AnimationTriggers>)
set_animationTriggers(crate::unity_engine::ui::animationtriggers::AnimationTriggers) overloadSource§fn get_target_graphic(self) -> Graphic
fn get_target_graphic(self) -> Graphic
get_targetGraphic() overloadSource§fn set_target_graphic(self, value: impl Into<Graphic>)
fn set_target_graphic(self, value: impl Into<Graphic>)
set_targetGraphic(crate::unity_engine::ui::graphic::Graphic) overloadSource§fn get_interactable(self) -> bool
fn get_interactable(self) -> bool
get_interactable() overloadSource§fn set_interactable(self, value: impl Into<bool>)
fn set_interactable(self, value: impl Into<bool>)
set_interactable(bool) overloadSource§fn get_is_pointer_inside(self) -> bool
fn get_is_pointer_inside(self) -> bool
get_isPointerInside() overloadSource§fn set_is_pointer_inside(self, value: impl Into<bool>)
fn set_is_pointer_inside(self, value: impl Into<bool>)
set_isPointerInside(bool) overloadSource§fn get_is_pointer_down(self) -> bool
fn get_is_pointer_down(self) -> bool
get_isPointerDown() overloadSource§fn set_is_pointer_down(self, value: impl Into<bool>)
fn set_is_pointer_down(self, value: impl Into<bool>)
set_isPointerDown(bool) overloadSource§fn get_has_selection(self) -> bool
fn get_has_selection(self) -> bool
get_hasSelection() overloadSource§fn set_has_selection(self, value: impl Into<bool>)
fn set_has_selection(self, value: impl Into<bool>)
set_hasSelection(bool) overloadSource§fn set_image(self, value: impl Into<Image>)
fn set_image(self, value: impl Into<Image>)
set_image(crate::unity_engine::ui::image::Image) overloadSource§fn get_animator(self) -> Animator
fn get_animator(self) -> Animator
get_animator() overloadSource§fn on_canvas_group_changed(self)
fn on_canvas_group_changed(self)
OnCanvasGroupChanged() overloadSource§fn is_interactable(self) -> bool
fn is_interactable(self) -> bool
IsInteractable() overloadSource§fn on_did_apply_animation_properties(self)
fn on_did_apply_animation_properties(self)
OnDidApplyAnimationProperties() overloadSource§fn on_transform_parent_changed(self)
fn on_transform_parent_changed(self)
OnTransformParentChanged() overloadSource§fn on_set_property(self)
fn on_set_property(self)
OnSetProperty() overloadSource§fn on_disable(self)
fn on_disable(self)
OnDisable() overloadSource§fn get_current_selection_state(self) -> Selectable_SelectionState
fn get_current_selection_state(self) -> Selectable_SelectionState
get_currentSelectionState() overloadSource§fn instant_clear_state(self)
fn instant_clear_state(self)
InstantClearState() overloadSource§fn do_state_transition(
self,
state: impl Into<Selectable_SelectionState>,
instant: impl Into<bool>,
)
fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, )
DoStateTransition(crate::unity_engine::ui::selectable::Selectable_SelectionState, bool) overloadSource§fn find_selectable(self, dir: impl Into<Vector3>) -> Selectable
fn find_selectable(self, dir: impl Into<Vector3>) -> Selectable
FindSelectable(crate::unity_engine::vector3::Vector3) overloadNavigate(crate::unity_engine::event_systems::axiseventdata::AxisEventData, crate::unity_engine::ui::selectable::Selectable) overloadSource§fn find_selectable_on_left(self) -> Selectable
fn find_selectable_on_left(self) -> Selectable
FindSelectableOnLeft() overloadSource§fn find_selectable_on_right(self) -> Selectable
fn find_selectable_on_right(self) -> Selectable
FindSelectableOnRight() overloadSource§fn find_selectable_on_up(self) -> Selectable
fn find_selectable_on_up(self) -> Selectable
FindSelectableOnUp() overloadSource§fn find_selectable_on_down(self) -> Selectable
fn find_selectable_on_down(self) -> Selectable
FindSelectableOnDown() overloadSource§fn on_move(self, event_data: impl Into<AxisEventData>)
fn on_move(self, event_data: impl Into<AxisEventData>)
OnMove(crate::unity_engine::event_systems::axiseventdata::AxisEventData) overloadSource§fn start_color_tween(
self,
target_color: impl Into<Color>,
instant: impl Into<bool>,
)
fn start_color_tween( self, target_color: impl Into<Color>, instant: impl Into<bool>, )
StartColorTween(crate::unity_engine::color::Color, bool) overloadSource§fn do_sprite_swap(self, new_sprite: impl Into<Sprite>)
fn do_sprite_swap(self, new_sprite: impl Into<Sprite>)
DoSpriteSwap(crate::unity_engine::sprite::Sprite) overloadSource§fn trigger_animation(self, triggername: impl Into<Il2CppString>)
fn trigger_animation(self, triggername: impl Into<Il2CppString>)
TriggerAnimation(::unity::Il2CppString) overloadSource§fn is_highlighted(self) -> bool
fn is_highlighted(self) -> bool
IsHighlighted() overloadSource§fn is_pressed(self) -> bool
fn is_pressed(self) -> bool
IsPressed() overloadSource§fn evaluate_and_transition_to_selection_state(self)
fn evaluate_and_transition_to_selection_state(self)
EvaluateAndTransitionToSelectionState() overloadSource§fn on_pointer_down(self, event_data: impl Into<PointerEventData>)
fn on_pointer_down(self, event_data: impl Into<PointerEventData>)
OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overloadSource§fn on_pointer_up(self, event_data: impl Into<PointerEventData>)
fn on_pointer_up(self, event_data: impl Into<PointerEventData>)
OnPointerUp(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overloadSource§fn on_pointer_enter(self, event_data: impl Into<PointerEventData>)
fn on_pointer_enter(self, event_data: impl Into<PointerEventData>)
OnPointerEnter(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overloadSource§fn on_pointer_exit(self, event_data: impl Into<PointerEventData>)
fn on_pointer_exit(self, event_data: impl Into<PointerEventData>)
OnPointerExit(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overloadSource§fn on_select(self, event_data: impl Into<BaseEventData>)
fn on_select(self, event_data: impl Into<BaseEventData>)
OnSelect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overloadSource§fn on_deselect(self, event_data: impl Into<BaseEventData>)
fn on_deselect(self, event_data: impl Into<BaseEventData>)
OnDeselect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overloadSource§impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(
self,
dictionary: SortedDictionary_2<T0, T1>,
get_enumerator_ret_type: i32,
)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn dispose(self)where
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn get_not_started_or_ended(self) -> boolwhere
Self: Sized,
fn reset(self)where
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
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,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
Source§impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: SortedDictionary_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> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: SortedDictionary_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> ISortedSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: SortedSet_1<T0>)where
Self: Sized,
fn ctor_2(self, set: SortedSet_1<T0>, reverse: bool)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
fn initialize(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn dispose(self)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn get_not_started_or_ended(self) -> boolwhere
Self: Sized,
fn reset(self)where
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn cctor()
Source§impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, stack: Stack_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 throw_enumeration_not_started_or_ended(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,
Source§impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, stack: Array<T0>)where
Self: Sized,
fn ctor_2(self, capacity: i32)where
Self: Sized,
fn ctor_3(self, capacity: i32, rollover_size: i32)where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn get_rollover_size(self) -> i32where
Self: Sized,
fn set_rollover_size(self, value: i32)where
Self: Sized,
fn set_default(stack: Array<TMP_TextProcessingStack_1<T0>>, item: T0)
fn clear(self)where
Self: Sized,
fn set_default_2(self, item: T0)where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn remove(self) -> T0where
Self: Sized,
fn push(self, item: T0)where
Self: Sized,
fn pop(self) -> T0where
Self: Sized,
fn peek(self) -> T0where
Self: Sized,
fn current_item(self) -> T0where
Self: Sized,
fn previous_item(self) -> T0where
Self: Sized,
Source§impl<__T> IUIBehaviourMethods for __Twhere
__T: IUIBehaviour,
impl<__T> IUIBehaviourMethods for __Twhere
__T: IUIBehaviour,
Source§fn on_disable(self)
fn on_disable(self)
OnDisable() overloadSource§fn on_destroy(self)
fn on_destroy(self)
OnDestroy() overloadSource§fn on_rect_transform_dimensions_change(self)
fn on_rect_transform_dimensions_change(self)
OnRectTransformDimensionsChange() overloadSource§fn on_before_transform_parent_changed(self)
fn on_before_transform_parent_changed(self)
OnBeforeTransformParentChanged() overloadSource§fn on_transform_parent_changed(self)
fn on_transform_parent_changed(self)
OnTransformParentChanged() overloadSource§fn on_did_apply_animation_properties(self)
fn on_did_apply_animation_properties(self)
OnDidApplyAnimationProperties() overloadSource§fn on_canvas_group_changed(self)
fn on_canvas_group_changed(self)
OnCanvasGroupChanged() overloadSource§fn on_canvas_hierarchy_changed(self)
fn on_canvas_hierarchy_changed(self)
OnCanvasHierarchyChanged() overloadSource§fn is_destroyed(self) -> bool
fn is_destroyed(self) -> bool
IsDestroyed() overload