Skip to main content

IInputFieldMethods

Trait IInputFieldMethods 

Source
pub trait IInputFieldMethods: IInputField {
Show 154 methods // Provided methods fn get_input(self) -> BaseInput { ... } fn get_composition_string(self) -> Il2CppString { ... } fn ctor(self) { ... } fn get_mesh(self) -> Mesh { ... } fn get_cached_input_text_generator(self) -> TextGenerator { ... } fn set_should_hide_mobile_input(self, value: impl Into<bool>) { ... } fn get_should_hide_mobile_input(self) -> bool { ... } fn set_should_activate_on_select(self, value: impl Into<bool>) { ... } fn get_should_activate_on_select(self) -> bool { ... } fn get_text(self) -> Il2CppString { ... } fn set_text(self, value: impl Into<Il2CppString>) { ... } fn set_text_without_notify(self, input: impl Into<Il2CppString>) { ... } fn set_text_2( self, value: impl Into<Il2CppString>, send_callback: impl Into<bool>, ) { ... } fn get_is_focused(self) -> bool { ... } fn get_caret_blink_rate(self) -> f32 { ... } fn set_caret_blink_rate(self, value: impl Into<f32>) { ... } fn get_caret_width(self) -> i32 { ... } fn set_caret_width(self, value: impl Into<i32>) { ... } fn get_text_component(self) -> Text { ... } fn set_text_component(self, value: impl Into<Text>) { ... } fn get_placeholder(self) -> Graphic { ... } fn set_placeholder(self, value: impl Into<Graphic>) { ... } fn get_caret_color(self) -> Color { ... } fn set_caret_color(self, value: impl Into<Color>) { ... } fn get_custom_caret_color(self) -> bool { ... } fn set_custom_caret_color(self, value: impl Into<bool>) { ... } fn get_selection_color(self) -> Color { ... } fn set_selection_color(self, value: impl Into<Color>) { ... } fn get_on_end_edit(self) -> InputField_SubmitEvent { ... } fn set_on_end_edit(self, value: impl Into<InputField_SubmitEvent>) { ... } fn get_on_value_change(self) -> InputField_OnChangeEvent { ... } fn set_on_value_change(self, value: impl Into<InputField_OnChangeEvent>) { ... } fn get_on_value_changed(self) -> InputField_OnChangeEvent { ... } fn set_on_value_changed(self, value: impl Into<InputField_OnChangeEvent>) { ... } fn get_on_validate_input(self) -> InputField_OnValidateInput { ... } fn set_on_validate_input(self, value: impl Into<InputField_OnValidateInput>) { ... } fn get_character_limit(self) -> i32 { ... } fn set_character_limit(self, value: impl Into<i32>) { ... } fn get_content_type(self) -> InputField_ContentType { ... } fn set_content_type(self, value: impl Into<InputField_ContentType>) { ... } fn get_line_type(self) -> InputField_LineType { ... } fn set_line_type(self, value: impl Into<InputField_LineType>) { ... } fn get_input_type(self) -> InputField_InputType { ... } fn set_input_type(self, value: impl Into<InputField_InputType>) { ... } fn get_touch_screen_keyboard(self) -> TouchScreenKeyboard { ... } fn get_keyboard_type(self) -> TouchScreenKeyboardType { ... } fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>) { ... } fn get_character_validation(self) -> InputField_CharacterValidation { ... } fn set_character_validation( self, value: impl Into<InputField_CharacterValidation>, ) { ... } fn get_read_only(self) -> bool { ... } fn set_read_only(self, value: impl Into<bool>) { ... } fn get_multi_line(self) -> bool { ... } fn get_asterisk_char(self) -> u16 { ... } fn set_asterisk_char(self, value: impl Into<u16>) { ... } fn get_was_canceled(self) -> bool { ... } fn clamp_pos(self) -> i32 { ... } fn get_caret_position_internal(self) -> i32 { ... } fn set_caret_position_internal(self, value: impl Into<i32>) { ... } fn get_caret_select_position_internal(self) -> i32 { ... } fn set_caret_select_position_internal(self, value: impl Into<i32>) { ... } fn get_has_selection(self) -> bool { ... } fn get_caret_position(self) -> i32 { ... } fn set_caret_position(self, value: impl Into<i32>) { ... } fn get_selection_anchor_position(self) -> i32 { ... } fn set_selection_anchor_position(self, value: impl Into<i32>) { ... } fn get_selection_focus_position(self) -> i32 { ... } fn set_selection_focus_position(self, value: impl Into<i32>) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn caret_blink(self) -> IEnumerator { ... } fn set_caret_visible(self) { ... } fn set_caret_active(self) { ... } fn update_caret_material(self) { ... } fn on_focus(self) { ... } fn select_all(self) { ... } fn move_text_end(self, shift: impl Into<bool>) { ... } fn move_text_start(self, shift: impl Into<bool>) { ... } fn touch_screen_keyboard_should_be_used(self) -> bool { ... } fn in_place_editing(self) -> bool { ... } fn in_place_editing_changed(self) -> bool { ... } fn update_caret_from_keyboard(self) { ... } fn late_update(self) { ... } fn screen_to_local(self, screen: impl Into<Vector2>) -> Vector2 { ... } fn get_unclamped_character_line_from_position( self, pos: impl Into<Vector2>, generator: impl Into<TextGenerator>, ) -> i32 { ... } fn get_character_index_from_position(self, pos: impl Into<Vector2>) -> i32 { ... } fn may_drag(self, event_data: impl Into<PointerEventData>) -> bool { ... } fn on_begin_drag(self, event_data: impl Into<PointerEventData>) { ... } fn on_drag(self, event_data: impl Into<PointerEventData>) { ... } fn mouse_drag_outside_rect( self, event_data: impl Into<PointerEventData>, ) -> IEnumerator { ... } fn on_end_drag(self, event_data: impl Into<PointerEventData>) { ... } fn on_pointer_down(self, event_data: impl Into<PointerEventData>) { ... } fn key_pressed(self, evt: impl Into<Event>) -> InputField_EditState { ... } fn is_valid_char(self, c: impl Into<u16>) -> bool { ... } fn process_event(self, e: impl Into<Event>) { ... } fn on_update_selected(self, event_data: impl Into<BaseEventData>) { ... } fn get_selected_string(self) -> Il2CppString { ... } fn findt_next_word_begin(self) -> i32 { ... } fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... } fn findt_prev_word_begin(self) -> i32 { ... } fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... } fn determine_character_line( self, char_pos: impl Into<i32>, generator: impl Into<TextGenerator>, ) -> i32 { ... } fn line_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32 { ... } fn line_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32 { ... } fn move_down(self, shift: impl Into<bool>) { ... } fn move_down_2( self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>, ) { ... } fn move_up(self, shift: impl Into<bool>) { ... } fn move_up_2( self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>, ) { ... } fn delete(self) { ... } fn forward_space(self) { ... } fn backspace(self) { ... } fn insert(self, c: impl Into<u16>) { ... } fn update_touch_keyboard_from_edit_changes(self) { ... } fn send_on_value_changed_and_update_label(self) { ... } fn send_on_value_changed(self) { ... } fn send_on_submit(self) { ... } fn append(self, input: impl Into<Il2CppString>) { ... } fn append_2(self, input: impl Into<u16>) { ... } fn update_label(self) { ... } fn is_selection_visible(self) -> bool { ... } fn set_draw_range_to_contain_caret_position(self, caret_pos: impl Into<i32>) { ... } fn force_label_update(self) { ... } fn mark_geometry_as_dirty(self) { ... } fn rebuild(self, update: impl Into<CanvasUpdate>) { ... } fn layout_complete(self) { ... } fn graphic_update_complete(self) { ... } fn update_geometry(self) { ... } fn assign_positioning_if_needed(self) { ... } fn on_fill_vbo(self, vbo: impl Into<Mesh>) { ... } fn generate_caret( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, ) { ... } fn create_cursor_verts(self) { ... } fn generate_highlight( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, ) { ... } fn validate( self, text: impl Into<Il2CppString>, pos: impl Into<i32>, ch: impl Into<u16>, ) -> u16 { ... } fn activate_input_field(self) { ... } fn activate_input_field_internal(self) { ... } fn on_select(self, event_data: impl Into<BaseEventData>) { ... } fn on_pointer_click(self, event_data: impl Into<PointerEventData>) { ... } fn deactivate_input_field(self) { ... } fn on_deselect(self, event_data: impl Into<BaseEventData>) { ... } fn on_submit(self, event_data: impl Into<BaseEventData>) { ... } fn enforce_content_type(self) { ... } fn enforce_text_h_overflow(self) { ... } fn set_to_custom_if_content_type_is_not( self, allowed_content_types: impl Into<Array<InputField_ContentType>>, ) { ... } fn set_to_custom(self) { ... } fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, ) { ... } fn calculate_layout_input_horizontal(self) { ... } fn calculate_layout_input_vertical(self) { ... } fn get_min_width(self) -> f32 { ... } fn get_preferred_width(self) -> f32 { ... } fn get_flexible_width(self) -> f32 { ... } fn get_min_height(self) -> f32 { ... } fn get_preferred_height(self) -> f32 { ... } fn get_flexible_height(self) -> f32 { ... } fn get_layout_priority(self) -> i32 { ... } fn unity_engine_ui_i_canvas_element_get_transform(self) -> Transform { ... }
}

Provided Methods§

Source

fn get_input(self) -> BaseInput

get_input() overload

Source

fn get_composition_string(self) -> Il2CppString

get_compositionString() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_mesh(self) -> Mesh

get_mesh() overload

Source

fn get_cached_input_text_generator(self) -> TextGenerator

get_cachedInputTextGenerator() overload

Source

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

set_shouldHideMobileInput(bool) overload

Source

fn get_should_hide_mobile_input(self) -> bool

get_shouldHideMobileInput() overload

Source

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

set_shouldActivateOnSelect(bool) overload

Source

fn get_should_activate_on_select(self) -> bool

get_shouldActivateOnSelect() overload

Source

fn get_text(self) -> Il2CppString

get_text() overload

Source

fn set_text(self, value: impl Into<Il2CppString>)

set_text(::unity::Il2CppString) overload

Source

fn set_text_without_notify(self, input: impl Into<Il2CppString>)

SetTextWithoutNotify(::unity::Il2CppString) overload

Source

fn set_text_2( self, value: impl Into<Il2CppString>, send_callback: impl Into<bool>, )

SetText(::unity::Il2CppString, bool) overload

Source

fn get_is_focused(self) -> bool

get_isFocused() overload

get_caretBlinkRate() overload

set_caretBlinkRate(f32) overload

Source

fn get_caret_width(self) -> i32

get_caretWidth() overload

Source

fn set_caret_width(self, value: impl Into<i32>)

set_caretWidth(i32) overload

Source

fn get_text_component(self) -> Text

get_textComponent() overload

Source

fn set_text_component(self, value: impl Into<Text>)

set_textComponent(crate::unity_engine::ui::text::Text) overload

Source

fn get_placeholder(self) -> Graphic

get_placeholder() overload

Source

fn set_placeholder(self, value: impl Into<Graphic>)

set_placeholder(crate::unity_engine::ui::graphic::Graphic) overload

Source

fn get_caret_color(self) -> Color

get_caretColor() overload

Source

fn set_caret_color(self, value: impl Into<Color>)

set_caretColor(crate::unity_engine::color::Color) overload

Source

fn get_custom_caret_color(self) -> bool

get_customCaretColor() overload

Source

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

set_customCaretColor(bool) overload

Source

fn get_selection_color(self) -> Color

get_selectionColor() overload

Source

fn set_selection_color(self, value: impl Into<Color>)

set_selectionColor(crate::unity_engine::color::Color) overload

Source

fn get_on_end_edit(self) -> InputField_SubmitEvent

get_onEndEdit() overload

Source

fn set_on_end_edit(self, value: impl Into<InputField_SubmitEvent>)

set_onEndEdit(crate::unity_engine::ui::inputfield::InputField_SubmitEvent) overload

Source

fn get_on_value_change(self) -> InputField_OnChangeEvent

get_onValueChange() overload

Source

fn set_on_value_change(self, value: impl Into<InputField_OnChangeEvent>)

set_onValueChange(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent) overload

Source

fn get_on_value_changed(self) -> InputField_OnChangeEvent

get_onValueChanged() overload

Source

fn set_on_value_changed(self, value: impl Into<InputField_OnChangeEvent>)

set_onValueChanged(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent) overload

Source

fn get_on_validate_input(self) -> InputField_OnValidateInput

get_onValidateInput() overload

Source

fn set_on_validate_input(self, value: impl Into<InputField_OnValidateInput>)

set_onValidateInput(crate::unity_engine::ui::inputfield::InputField_OnValidateInput) overload

Source

fn get_character_limit(self) -> i32

get_characterLimit() overload

Source

fn set_character_limit(self, value: impl Into<i32>)

set_characterLimit(i32) overload

Source

fn get_content_type(self) -> InputField_ContentType

get_contentType() overload

Source

fn set_content_type(self, value: impl Into<InputField_ContentType>)

set_contentType(crate::unity_engine::ui::inputfield::InputField_ContentType) overload

Source

fn get_line_type(self) -> InputField_LineType

get_lineType() overload

Source

fn set_line_type(self, value: impl Into<InputField_LineType>)

set_lineType(crate::unity_engine::ui::inputfield::InputField_LineType) overload

Source

fn get_input_type(self) -> InputField_InputType

get_inputType() overload

Source

fn set_input_type(self, value: impl Into<InputField_InputType>)

set_inputType(crate::unity_engine::ui::inputfield::InputField_InputType) overload

Source

fn get_touch_screen_keyboard(self) -> TouchScreenKeyboard

get_touchScreenKeyboard() overload

Source

fn get_keyboard_type(self) -> TouchScreenKeyboardType

get_keyboardType() overload

Source

fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>)

set_keyboardType(crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType) overload

Source

fn get_character_validation(self) -> InputField_CharacterValidation

get_characterValidation() overload

Source

fn set_character_validation( self, value: impl Into<InputField_CharacterValidation>, )

set_characterValidation(crate::unity_engine::ui::inputfield::InputField_CharacterValidation) overload

Source

fn get_read_only(self) -> bool

get_readOnly() overload

Source

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

set_readOnly(bool) overload

Source

fn get_multi_line(self) -> bool

get_multiLine() overload

Source

fn get_asterisk_char(self) -> u16

get_asteriskChar() overload

Source

fn set_asterisk_char(self, value: impl Into<u16>)

set_asteriskChar(u16) overload

Source

fn get_was_canceled(self) -> bool

get_wasCanceled() overload

Source

fn clamp_pos(self) -> i32

ClampPos(*muti32) overload

Source

fn get_caret_position_internal(self) -> i32

get_caretPositionInternal() overload

Source

fn set_caret_position_internal(self, value: impl Into<i32>)

set_caretPositionInternal(i32) overload

Source

fn get_caret_select_position_internal(self) -> i32

get_caretSelectPositionInternal() overload

Source

fn set_caret_select_position_internal(self, value: impl Into<i32>)

set_caretSelectPositionInternal(i32) overload

Source

fn get_has_selection(self) -> bool

get_hasSelection() overload

Source

fn get_caret_position(self) -> i32

get_caretPosition() overload

Source

fn set_caret_position(self, value: impl Into<i32>)

set_caretPosition(i32) overload

Source

fn get_selection_anchor_position(self) -> i32

get_selectionAnchorPosition() overload

Source

fn set_selection_anchor_position(self, value: impl Into<i32>)

set_selectionAnchorPosition(i32) overload

Source

fn get_selection_focus_position(self) -> i32

get_selectionFocusPosition() overload

Source

fn set_selection_focus_position(self, value: impl Into<i32>)

set_selectionFocusPosition(i32) overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

CaretBlink() overload

Source

fn set_caret_visible(self)

SetCaretVisible() overload

Source

fn set_caret_active(self)

SetCaretActive() overload

Source

fn update_caret_material(self)

UpdateCaretMaterial() overload

Source

fn on_focus(self)

OnFocus() overload

Source

fn select_all(self)

SelectAll() overload

Source

fn move_text_end(self, shift: impl Into<bool>)

MoveTextEnd(bool) overload

Source

fn move_text_start(self, shift: impl Into<bool>)

MoveTextStart(bool) overload

Source

fn touch_screen_keyboard_should_be_used(self) -> bool

TouchScreenKeyboardShouldBeUsed() overload

Source

fn in_place_editing(self) -> bool

InPlaceEditing() overload

Source

fn in_place_editing_changed(self) -> bool

InPlaceEditingChanged() overload

Source

fn update_caret_from_keyboard(self)

UpdateCaretFromKeyboard() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn screen_to_local(self, screen: impl Into<Vector2>) -> Vector2

ScreenToLocal(crate::unity_engine::vector2::Vector2) overload

Source

fn get_unclamped_character_line_from_position( self, pos: impl Into<Vector2>, generator: impl Into<TextGenerator>, ) -> i32

GetUnclampedCharacterLineFromPosition(crate::unity_engine::vector2::Vector2, crate::unity_engine::textgenerator::TextGenerator) overload

Source

fn get_character_index_from_position(self, pos: impl Into<Vector2>) -> i32

GetCharacterIndexFromPosition(crate::unity_engine::vector2::Vector2) overload

Source

fn may_drag(self, event_data: impl Into<PointerEventData>) -> bool

MayDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_begin_drag(self, event_data: impl Into<PointerEventData>)

OnBeginDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_drag(self, event_data: impl Into<PointerEventData>)

OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn mouse_drag_outside_rect( self, event_data: impl Into<PointerEventData>, ) -> IEnumerator

MouseDragOutsideRect(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_end_drag(self, event_data: impl Into<PointerEventData>)

OnEndDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_pointer_down(self, event_data: impl Into<PointerEventData>)

OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn key_pressed(self, evt: impl Into<Event>) -> InputField_EditState

KeyPressed(crate::unity_engine::event::Event) overload

Source

fn is_valid_char(self, c: impl Into<u16>) -> bool

IsValidChar(u16) overload

Source

fn process_event(self, e: impl Into<Event>)

ProcessEvent(crate::unity_engine::event::Event) overload

Source

fn on_update_selected(self, event_data: impl Into<BaseEventData>)

OnUpdateSelected(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn get_selected_string(self) -> Il2CppString

GetSelectedString() overload

Source

fn findt_next_word_begin(self) -> i32

FindtNextWordBegin() overload

Source

fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveRight(bool, bool) overload

Source

fn findt_prev_word_begin(self) -> i32

FindtPrevWordBegin() overload

Source

fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveLeft(bool, bool) overload

Source

fn determine_character_line( self, char_pos: impl Into<i32>, generator: impl Into<TextGenerator>, ) -> i32

DetermineCharacterLine(i32, crate::unity_engine::textgenerator::TextGenerator) overload

Source

fn line_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32

LineUpCharacterPosition(i32, bool) overload

Source

fn line_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32

LineDownCharacterPosition(i32, bool) overload

Source

fn move_down(self, shift: impl Into<bool>)

MoveDown(bool) overload

Source

fn move_down_2(self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>)

MoveDown(bool, bool) overload

Source

fn move_up(self, shift: impl Into<bool>)

MoveUp(bool) overload

Source

fn move_up_2(self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>)

MoveUp(bool, bool) overload

Source

fn delete(self)

Delete() overload

Source

fn forward_space(self)

ForwardSpace() overload

Source

fn backspace(self)

Backspace() overload

Source

fn insert(self, c: impl Into<u16>)

Insert(u16) overload

Source

fn update_touch_keyboard_from_edit_changes(self)

UpdateTouchKeyboardFromEditChanges() overload

Source

fn send_on_value_changed_and_update_label(self)

SendOnValueChangedAndUpdateLabel() overload

Source

fn send_on_value_changed(self)

SendOnValueChanged() overload

Source

fn send_on_submit(self)

SendOnSubmit() overload

Source

fn append(self, input: impl Into<Il2CppString>)

Append(::unity::Il2CppString) overload

Source

fn append_2(self, input: impl Into<u16>)

Append(u16) overload

Source

fn update_label(self)

UpdateLabel() overload

Source

fn is_selection_visible(self) -> bool

IsSelectionVisible() overload

Source

fn set_draw_range_to_contain_caret_position(self, caret_pos: impl Into<i32>)

SetDrawRangeToContainCaretPosition(i32) overload

Source

fn force_label_update(self)

ForceLabelUpdate() overload

Source

fn mark_geometry_as_dirty(self)

MarkGeometryAsDirty() overload

Source

fn rebuild(self, update: impl Into<CanvasUpdate>)

Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate) overload

Source

fn layout_complete(self)

LayoutComplete() overload

Source

fn graphic_update_complete(self)

GraphicUpdateComplete() overload

Source

fn update_geometry(self)

UpdateGeometry() overload

Source

fn assign_positioning_if_needed(self)

AssignPositioningIfNeeded() overload

Source

fn on_fill_vbo(self, vbo: impl Into<Mesh>)

OnFillVBO(crate::unity_engine::mesh::Mesh) overload

Source

fn generate_caret( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, )

GenerateCaret(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2) overload

Source

fn create_cursor_verts(self)

CreateCursorVerts() overload

Source

fn generate_highlight( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, )

GenerateHighlight(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2) overload

Source

fn validate( self, text: impl Into<Il2CppString>, pos: impl Into<i32>, ch: impl Into<u16>, ) -> u16

Validate(::unity::Il2CppString, i32, u16) overload

Source

fn activate_input_field(self)

ActivateInputField() overload

Source

fn activate_input_field_internal(self)

ActivateInputFieldInternal() overload

Source

fn on_select(self, event_data: impl Into<BaseEventData>)

OnSelect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_pointer_click(self, event_data: impl Into<PointerEventData>)

OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn deactivate_input_field(self)

DeactivateInputField() overload

Source

fn on_deselect(self, event_data: impl Into<BaseEventData>)

OnDeselect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_submit(self, event_data: impl Into<BaseEventData>)

OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn enforce_content_type(self)

EnforceContentType() overload

Source

fn enforce_text_h_overflow(self)

EnforceTextHOverflow() overload

Source

fn set_to_custom_if_content_type_is_not( self, allowed_content_types: impl Into<Array<InputField_ContentType>>, )

SetToCustomIfContentTypeIsNot(::unity::Array<crate::unity_engine::ui::inputfield::InputField_ContentType>) overload

Source

fn set_to_custom(self)

SetToCustom() overload

Source

fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, )

DoStateTransition(crate::unity_engine::ui::selectable::Selectable_SelectionState, bool) overload

Source

fn calculate_layout_input_horizontal(self)

CalculateLayoutInputHorizontal() overload

Source

fn calculate_layout_input_vertical(self)

CalculateLayoutInputVertical() overload

Source

fn get_min_width(self) -> f32

get_minWidth() overload

Source

fn get_preferred_width(self) -> f32

get_preferredWidth() overload

Source

fn get_flexible_width(self) -> f32

get_flexibleWidth() overload

Source

fn get_min_height(self) -> f32

get_minHeight() overload

Source

fn get_preferred_height(self) -> f32

get_preferredHeight() overload

Source

fn get_flexible_height(self) -> f32

get_flexibleHeight() overload

Source

fn get_layout_priority(self) -> i32

get_layoutPriority() overload

Source

fn unity_engine_ui_i_canvas_element_get_transform(self) -> Transform

UnityEngine.UI.ICanvasElement.get_transform() 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: IInputField> IInputFieldMethods for __T

Available on crate feature unity_engine-ui-inputfield only.