Click or drag to resize

InputFieldEx Class

An enhanced InputField that allows you to hook into key presses on or manually send key events to it.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          UIBehaviour
            Selectable
              InputField
                Kit.UI.WidgetsInputFieldEx

Namespace:  Kit.UI.Widgets
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class InputFieldEx : InputField
Request Example View Source

The InputFieldEx type exposes the following members.

Methods
  NameDescription
Public methodAddKeyHandler(InputFieldExKeyHandler)
Hook into a key combination.
Public methodAddKeyHandler(KeyCode, Action, EventModifiers, EventModifiers)
Hook into a key combination.
Public methodOnUpdateSelected (Overrides InputField.OnUpdateSelected(BaseEventData).)
Public methodRemoveKeyHandler
Unhook a key combination.
Public methodSendKeyEvent(Event)
Manually send a key event to the input field.
Public methodSendKeyEvent(KeyCode, Char, EventModifiers)
Manually send a key event to the input field.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Public Extension MethodSetInteractableImmediate
Changes the value of the interactable property without triggering transitions.
(Defined by SelectableExtensions.)
Top
See Also