pub trait IStandaloneInputModule18Methods: IStandaloneInputModule18 {
Show 36 methods
// Provided methods
fn ctor(self) { ... }
fn get_input_mode(self) -> StandaloneInputModule18_InputMode { ... }
fn get_allow_activation_on_mobile_device(self) -> bool { ... }
fn set_allow_activation_on_mobile_device(self, value: impl Into<bool>) { ... }
fn get_force_module_active(self) -> bool { ... }
fn set_force_module_active(self, value: impl Into<bool>) { ... }
fn get_input_actions_per_second(self) -> f32 { ... }
fn set_input_actions_per_second(self, value: impl Into<f32>) { ... }
fn get_repeat_delay(self) -> f32 { ... }
fn set_repeat_delay(self, value: impl Into<f32>) { ... }
fn get_horizontal_axis(self) -> Il2CppString { ... }
fn set_horizontal_axis(self, value: impl Into<Il2CppString>) { ... }
fn get_vertical_axis(self) -> Il2CppString { ... }
fn set_vertical_axis(self, value: impl Into<Il2CppString>) { ... }
fn get_submit_button(self) -> Il2CppString { ... }
fn set_submit_button(self, value: impl Into<Il2CppString>) { ... }
fn get_cancel_button(self) -> Il2CppString { ... }
fn set_cancel_button(self, value: impl Into<Il2CppString>) { ... }
fn should_ignore_events_on_no_focus(self) -> bool { ... }
fn update_module(self) { ... }
fn is_module_supported(self) -> bool { ... }
fn should_activate_module(self) -> bool { ... }
fn activate_module(self) { ... }
fn deactivate_module(self) { ... }
fn process(self) { ... }
fn process_touch_events(self) -> bool { ... }
fn process_touch_press(
self,
pointer_event: impl Into<PointerEventData>,
pressed: impl Into<bool>,
released: impl Into<bool>,
) { ... }
fn send_submit_event_to_selected_object(self) -> bool { ... }
fn get_raw_move_vector(self) -> Vector2 { ... }
fn send_move_event_to_selected_object(self) -> bool { ... }
fn process_mouse_event(self) { ... }
fn force_auto_select(self) -> bool { ... }
fn process_mouse_event_2(self, id: impl Into<i32>) { ... }
fn send_update_event_to_selected_object(self) -> bool { ... }
fn process_mouse_press(
self,
data: impl Into<PointerInputModule_MouseButtonEventData>,
) { ... }
fn get_current_focused_game_object(self) -> GameObject { ... }
}Provided Methods§
Sourcefn get_input_mode(self) -> StandaloneInputModule18_InputMode
fn get_input_mode(self) -> StandaloneInputModule18_InputMode
get_inputMode() overload
Sourcefn get_allow_activation_on_mobile_device(self) -> bool
fn get_allow_activation_on_mobile_device(self) -> bool
get_allowActivationOnMobileDevice() overload
Sourcefn set_allow_activation_on_mobile_device(self, value: impl Into<bool>)
fn set_allow_activation_on_mobile_device(self, value: impl Into<bool>)
set_allowActivationOnMobileDevice(bool) overload
Sourcefn get_force_module_active(self) -> bool
fn get_force_module_active(self) -> bool
get_forceModuleActive() overload
Sourcefn set_force_module_active(self, value: impl Into<bool>)
fn set_force_module_active(self, value: impl Into<bool>)
set_forceModuleActive(bool) overload
Sourcefn get_input_actions_per_second(self) -> f32
fn get_input_actions_per_second(self) -> f32
get_inputActionsPerSecond() overload
Sourcefn set_input_actions_per_second(self, value: impl Into<f32>)
fn set_input_actions_per_second(self, value: impl Into<f32>)
set_inputActionsPerSecond(f32) overload
Sourcefn get_repeat_delay(self) -> f32
fn get_repeat_delay(self) -> f32
get_repeatDelay() overload
Sourcefn set_repeat_delay(self, value: impl Into<f32>)
fn set_repeat_delay(self, value: impl Into<f32>)
set_repeatDelay(f32) overload
Sourcefn get_horizontal_axis(self) -> Il2CppString
fn get_horizontal_axis(self) -> Il2CppString
get_horizontalAxis() overload
Sourcefn set_horizontal_axis(self, value: impl Into<Il2CppString>)
fn set_horizontal_axis(self, value: impl Into<Il2CppString>)
set_horizontalAxis(::unity::Il2CppString) overload
Sourcefn get_vertical_axis(self) -> Il2CppString
fn get_vertical_axis(self) -> Il2CppString
get_verticalAxis() overload
Sourcefn set_vertical_axis(self, value: impl Into<Il2CppString>)
fn set_vertical_axis(self, value: impl Into<Il2CppString>)
set_verticalAxis(::unity::Il2CppString) overload
get_submitButton() overload
set_submitButton(::unity::Il2CppString) overload
get_cancelButton() overload
set_cancelButton(::unity::Il2CppString) overload
Sourcefn should_ignore_events_on_no_focus(self) -> bool
fn should_ignore_events_on_no_focus(self) -> bool
ShouldIgnoreEventsOnNoFocus() overload
Sourcefn update_module(self)
fn update_module(self)
UpdateModule() overload
Sourcefn is_module_supported(self) -> bool
fn is_module_supported(self) -> bool
IsModuleSupported() overload
Sourcefn should_activate_module(self) -> bool
fn should_activate_module(self) -> bool
ShouldActivateModule() overload
Sourcefn activate_module(self)
fn activate_module(self)
ActivateModule() overload
Sourcefn deactivate_module(self)
fn deactivate_module(self)
DeactivateModule() overload
Sourcefn process_touch_events(self) -> bool
fn process_touch_events(self) -> bool
ProcessTouchEvents() overload
Sourcefn process_touch_press(
self,
pointer_event: impl Into<PointerEventData>,
pressed: impl Into<bool>,
released: impl Into<bool>,
)
fn process_touch_press( self, pointer_event: impl Into<PointerEventData>, pressed: impl Into<bool>, released: impl Into<bool>, )
ProcessTouchPress(crate::unity_engine::event_systems::pointereventdata::PointerEventData, bool, bool) overload
Sourcefn send_submit_event_to_selected_object(self) -> bool
fn send_submit_event_to_selected_object(self) -> bool
SendSubmitEventToSelectedObject() overload
Sourcefn get_raw_move_vector(self) -> Vector2
fn get_raw_move_vector(self) -> Vector2
GetRawMoveVector() overload
Sourcefn send_move_event_to_selected_object(self) -> bool
fn send_move_event_to_selected_object(self) -> bool
SendMoveEventToSelectedObject() overload
Sourcefn process_mouse_event(self)
fn process_mouse_event(self)
ProcessMouseEvent() overload
Sourcefn force_auto_select(self) -> bool
fn force_auto_select(self) -> bool
ForceAutoSelect() overload
Sourcefn process_mouse_event_2(self, id: impl Into<i32>)
fn process_mouse_event_2(self, id: impl Into<i32>)
ProcessMouseEvent(i32) overload
Sourcefn send_update_event_to_selected_object(self) -> bool
fn send_update_event_to_selected_object(self) -> bool
SendUpdateEventToSelectedObject() overload
Sourcefn process_mouse_press(
self,
data: impl Into<PointerInputModule_MouseButtonEventData>,
)
fn process_mouse_press( self, data: impl Into<PointerInputModule_MouseButtonEventData>, )
ProcessMousePress(crate::unity_engine::event_systems::pointerinputmodule::PointerInputModule_MouseButtonEventData) overload
Sourcefn get_current_focused_game_object(self) -> GameObject
fn get_current_focused_game_object(self) -> GameObject
GetCurrentFocusedGameObject() 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: IStandaloneInputModule18> IStandaloneInputModule18Methods for __T
unity_engine-event_systems-standaloneinputmodule18 only.