Skip to main content

ITouchInputModuleMethods

Trait ITouchInputModuleMethods 

Source
pub trait ITouchInputModuleMethods: ITouchInputModule {
Show 15 methods // Provided methods fn ctor(self) { ... } fn get_allow_activation_on_standalone(self) -> bool { ... } fn set_allow_activation_on_standalone(self, value: impl Into<bool>) { ... } fn get_force_module_active(self) -> bool { ... } fn set_force_module_active(self, value: impl Into<bool>) { ... } fn update_module(self) { ... } fn is_module_supported(self) -> bool { ... } fn should_activate_module(self) -> bool { ... } fn use_fake_input(self) -> bool { ... } fn process(self) { ... } fn fake_touches(self) { ... } fn process_touch_events(self) { ... } fn process_touch_press( self, pointer_event: impl Into<PointerEventData>, pressed: impl Into<bool>, released: impl Into<bool>, ) { ... } fn deactivate_module(self) { ... } fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_allow_activation_on_standalone(self) -> bool

get_allowActivationOnStandalone() overload

Source

fn set_allow_activation_on_standalone(self, value: impl Into<bool>)

set_allowActivationOnStandalone(bool) overload

Source

fn get_force_module_active(self) -> bool

get_forceModuleActive() overload

Source

fn set_force_module_active(self, value: impl Into<bool>)

set_forceModuleActive(bool) overload

Source

fn update_module(self)

UpdateModule() overload

Source

fn is_module_supported(self) -> bool

IsModuleSupported() overload

Source

fn should_activate_module(self) -> bool

ShouldActivateModule() overload

Source

fn use_fake_input(self) -> bool

UseFakeInput() overload

Source

fn process(self)

Process() overload

Source

fn fake_touches(self)

FakeTouches() overload

Source

fn process_touch_events(self)

ProcessTouchEvents() overload

Source

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

Source

fn deactivate_module(self)

DeactivateModule() overload

Source

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§

Source§

impl<__T: ITouchInputModule> ITouchInputModuleMethods for __T

Available on crate feature unity_engine-event_systems-touchinputmodule only.