InputField

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Events

Event

Description

onEndEdit

Arguments: string value

onValueChanged

Arguments: string value

Static members

Member

Description

allSelectableCount

Details

class InputField
const Animator animator
Char asteriskChar
float caretBlinkRate
Color caretColor
int caretPosition
int caretWidth
int characterLimit
bool customCaretColor
const float flexibleHeight
const float flexibleWidth
const GameObject gameObject
Image image
bool interactable
const bool isFocused
const int layoutPriority
const float minHeight
const float minWidth
const bool multiLine
const float preferredHeight
const float preferredWidth
bool readOnly
int selectionAnchorPosition
Color selectionColor
int selectionFocusPosition
bool shouldActivateOnSelect
bool shouldHideMobileInput
string text
Text textComponent
const Transform transform
const bool wasCanceled
const ScriptEvent onEndEdit

Callback Signature:

void callback()

Arguments: string value

const ScriptEvent onValueChanged

Callback Signature:

void callback()

Arguments: string value

void ActivateInputField()
void CalculateLayoutInputHorizontal()
void CalculateLayoutInputVertical()
void DeactivateInputField()
void ForceLabelUpdate()
void GraphicUpdateComplete()
bool IsActive()
bool IsDestroyed()
bool IsInteractable()
void LayoutComplete()
void MoveTextEnd(bool shift)
void MoveTextStart(bool shift)
void Select()
void SetTextWithoutNotify(string input)
string ToString()
static const int allSelectableCount