pub trait IEventSystemMethods: IEventSystem {
Show 26 methods
// Provided methods
fn get_send_navigation_events(self) -> bool { ... }
fn set_send_navigation_events(self, value: impl Into<bool>) { ... }
fn get_pixel_drag_threshold(self) -> i32 { ... }
fn set_pixel_drag_threshold(self, value: impl Into<i32>) { ... }
fn get_current_input_module(self) -> BaseInputModule { ... }
fn get_first_selected_game_object(self) -> GameObject { ... }
fn set_first_selected_game_object(self, value: impl Into<GameObject>) { ... }
fn get_current_selected_game_object(self) -> GameObject { ... }
fn get_last_selected_game_object(self) -> GameObject { ... }
fn get_is_focused(self) -> bool { ... }
fn ctor(self) { ... }
fn update_modules(self) { ... }
fn get_already_selecting(self) -> bool { ... }
fn set_selected_game_object(
self,
selected: impl Into<GameObject>,
pointer: impl Into<BaseEventData>,
) { ... }
fn get_base_event_data_cache(self) -> BaseEventData { ... }
fn set_selected_game_object_2(self, selected: impl Into<GameObject>) { ... }
fn raycast_all(
self,
event_data: impl Into<PointerEventData>,
raycast_results: impl Into<List_1<RaycastResult>>,
) { ... }
fn is_pointer_over_game_object(self) -> bool { ... }
fn is_pointer_over_game_object_2(self, pointer_id: impl Into<i32>) -> bool { ... }
fn on_enable(self) { ... }
fn on_disable(self) { ... }
fn tick_modules(self) { ... }
fn on_application_focus(self, has_focus: impl Into<bool>) { ... }
fn update(self) { ... }
fn change_event_module(self, module: impl Into<BaseInputModule>) { ... }
fn to_string(self) -> Il2CppString { ... }
}Provided Methods§
get_sendNavigationEvents() overload
set_sendNavigationEvents(bool) overload
Sourcefn get_pixel_drag_threshold(self) -> i32
fn get_pixel_drag_threshold(self) -> i32
get_pixelDragThreshold() overload
Sourcefn set_pixel_drag_threshold(self, value: impl Into<i32>)
fn set_pixel_drag_threshold(self, value: impl Into<i32>)
set_pixelDragThreshold(i32) overload
Sourcefn get_current_input_module(self) -> BaseInputModule
fn get_current_input_module(self) -> BaseInputModule
get_currentInputModule() overload
Sourcefn get_first_selected_game_object(self) -> GameObject
fn get_first_selected_game_object(self) -> GameObject
get_firstSelectedGameObject() overload
Sourcefn set_first_selected_game_object(self, value: impl Into<GameObject>)
fn set_first_selected_game_object(self, value: impl Into<GameObject>)
set_firstSelectedGameObject(crate::unity_engine::gameobject::GameObject) overload
Sourcefn get_current_selected_game_object(self) -> GameObject
fn get_current_selected_game_object(self) -> GameObject
get_currentSelectedGameObject() overload
Sourcefn get_last_selected_game_object(self) -> GameObject
fn get_last_selected_game_object(self) -> GameObject
get_lastSelectedGameObject() overload
Sourcefn get_is_focused(self) -> bool
fn get_is_focused(self) -> bool
get_isFocused() overload
Sourcefn update_modules(self)
fn update_modules(self)
UpdateModules() overload
Sourcefn get_already_selecting(self) -> bool
fn get_already_selecting(self) -> bool
get_alreadySelecting() overload
Sourcefn set_selected_game_object(
self,
selected: impl Into<GameObject>,
pointer: impl Into<BaseEventData>,
)
fn set_selected_game_object( self, selected: impl Into<GameObject>, pointer: impl Into<BaseEventData>, )
SetSelectedGameObject(crate::unity_engine::gameobject::GameObject, crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload
Sourcefn get_base_event_data_cache(self) -> BaseEventData
fn get_base_event_data_cache(self) -> BaseEventData
get_baseEventDataCache() overload
Sourcefn set_selected_game_object_2(self, selected: impl Into<GameObject>)
fn set_selected_game_object_2(self, selected: impl Into<GameObject>)
SetSelectedGameObject(crate::unity_engine::gameobject::GameObject) overload
Sourcefn raycast_all(
self,
event_data: impl Into<PointerEventData>,
raycast_results: impl Into<List_1<RaycastResult>>,
)
fn raycast_all( self, event_data: impl Into<PointerEventData>, raycast_results: impl Into<List_1<RaycastResult>>, )
RaycastAll(crate::unity_engine::event_systems::pointereventdata::PointerEventData, crate::system::collections::generic::list_1::List_1<crate::unity_engine::event_systems::raycastresult::RaycastResult>) overload
Sourcefn is_pointer_over_game_object(self) -> bool
fn is_pointer_over_game_object(self) -> bool
IsPointerOverGameObject() overload
Sourcefn is_pointer_over_game_object_2(self, pointer_id: impl Into<i32>) -> bool
fn is_pointer_over_game_object_2(self, pointer_id: impl Into<i32>) -> bool
IsPointerOverGameObject(i32) overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn tick_modules(self)
fn tick_modules(self)
TickModules() overload
Sourcefn on_application_focus(self, has_focus: impl Into<bool>)
fn on_application_focus(self, has_focus: impl Into<bool>)
OnApplicationFocus(bool) overload
Sourcefn change_event_module(self, module: impl Into<BaseInputModule>)
fn change_event_module(self, module: impl Into<BaseInputModule>)
ChangeEventModule(crate::unity_engine::event_systems::baseinputmodule::BaseInputModule) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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: IEventSystem> IEventSystemMethods for __T
unity_engine-event_systems-eventsystem only.