InputField
More information can be found in the Unity API Reference
Members
Member |
Description |
---|---|
Events
Event |
Description |
---|---|
Arguments: |
|
Arguments: |
Methods
Method |
Description |
---|---|
Static members
Member |
Description |
---|---|
|
Details
-
class InputField
-
-
Char asteriskChar
-
float caretBlinkRate
-
int caretPosition
-
int caretWidth
-
int characterLimit
-
bool customCaretColor
-
const float flexibleHeight
-
const float flexibleWidth
-
const GameObject gameObject
-
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
-
int selectionFocusPosition
-
bool shouldActivateOnSelect
-
bool shouldHideMobileInput
-
string text
-
const bool wasCanceled
-
const ScriptEvent onEndEdit
Callback Signature:
-
void callback()
Arguments:
string value
-
void callback()
-
const ScriptEvent onPointerClick
Callback Signature:
-
void callback()
-
void callback()
-
const ScriptEvent onPointerDown
Callback Signature:
-
void callback()
-
void callback()
-
const ScriptEvent onPointerEnter
Callback Signature:
-
void callback()
-
void callback()
-
const ScriptEvent onPointerExit
Callback Signature:
-
void callback()
-
void callback()
-
const ScriptEvent onPointerUp
Callback Signature:
-
void callback()
-
void callback()
-
const ScriptEvent onValueChanged
Callback Signature:
-
void callback()
Arguments:
string value
-
void callback()
-
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
-
Char asteriskChar