Setting the content type acts as a shortcut for setting a combination of InputType, CharacterValidation, LineType, and TouchScreenKeyboardType
Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntaxpublic enum InputField.ContentType
Fields Name Description Alphanumeric
Allows letters A-Z, a-z and numbers 0-9.
AutocorrectedAllows all input and performs auto-correction on platforms that support it.
CustomCustom types that allows user-defined settings.
DecimalNumberAllows decimal numbers (positive or negative).
EmailAddressThe input is used for typing in an email address.
IntegerNumberAllow whole numbers (positive or negative).
NameThe InputField is used for typing in a name, and enforces capitalization of the first letter of each word. Note that the user can circumvent the first letter capitalization rules by deleting automatically-capitalized letters.
PasswordAllows all input and hides the typed characters by showing them as asterisks characters.
PinAllows integer numbers and hides the typed characters by showing them as asterisks characters.
StandardAllows all input.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4