InputField¶
More information can be found in the Unity API Reference and maybe in the Unity Manual.
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
-
const ScriptEvent
onValueChanged
¶ Callback Signature:
-
void
callback
()¶
Arguments:
string value
-
void
-
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