Skip to main content

IBaseInputModuleMethods

Trait IBaseInputModuleMethods 

Source
pub trait IBaseInputModuleMethods: IBaseInputModule {
Show 17 methods // Provided methods fn get_input(self) -> BaseInput { ... } fn get_input_override(self) -> BaseInput { ... } fn set_input_override(self, value: impl Into<BaseInput>) { ... } fn get_event_system(self) -> EventSystem { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn process(self) { ... } fn handle_pointer_exit_and_enter( self, current_pointer_data: impl Into<PointerEventData>, new_enter_target: impl Into<GameObject>, ) { ... } fn get_axis_event_data( self, x: impl Into<f32>, y: impl Into<f32>, move_dead_zone: impl Into<f32>, ) -> AxisEventData { ... } fn get_base_event_data(self) -> BaseEventData { ... } fn is_pointer_over_game_object(self, pointer_id: impl Into<i32>) -> bool { ... } fn should_activate_module(self) -> bool { ... } fn deactivate_module(self) { ... } fn activate_module(self) { ... } fn update_module(self) { ... } fn is_module_supported(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_input(self) -> BaseInput

get_input() overload

Source

fn get_input_override(self) -> BaseInput

get_inputOverride() overload

Source

fn set_input_override(self, value: impl Into<BaseInput>)

set_inputOverride(crate::unity_engine::event_systems::baseinput::BaseInput) overload

Source

fn get_event_system(self) -> EventSystem

get_eventSystem() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn process(self)

Process() overload

Source

fn handle_pointer_exit_and_enter( self, current_pointer_data: impl Into<PointerEventData>, new_enter_target: impl Into<GameObject>, )

HandlePointerExitAndEnter(crate::unity_engine::event_systems::pointereventdata::PointerEventData, crate::unity_engine::gameobject::GameObject) overload

Source

fn get_axis_event_data( self, x: impl Into<f32>, y: impl Into<f32>, move_dead_zone: impl Into<f32>, ) -> AxisEventData

GetAxisEventData(f32, f32, f32) overload

Source

fn get_base_event_data(self) -> BaseEventData

GetBaseEventData() overload

Source

fn is_pointer_over_game_object(self, pointer_id: impl Into<i32>) -> bool

IsPointerOverGameObject(i32) overload

Source

fn should_activate_module(self) -> bool

ShouldActivateModule() overload

Source

fn deactivate_module(self)

DeactivateModule() overload

Source

fn activate_module(self)

ActivateModule() overload

Source

fn update_module(self)

UpdateModule() overload

Source

fn is_module_supported(self) -> bool

IsModuleSupported() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IBaseInputModule> IBaseInputModuleMethods for __T

Available on crate feature unity_engine-event_systems-baseinputmodule only.