This is an implementation of ITextFieldUI for TK2D. More...
Public Member Functions | |
void | StartTextInput (string labelText, string text, int maxLength, AcceptedTextDelegate acceptedText) |
Starts the text input field. | |
void | Update () |
void | CancelTextInput () |
Cancels the text input field. | |
void | AcceptTextInput () |
Accepts the text input and calls the accept handler delegate. | |
Public Attributes | |
tk2dUILayout | panel |
The panel (optional). | |
tk2dTextMesh | label |
The label. | |
tk2dUITextInput | textInput |
The text input. | |
KeyCode | acceptKey = KeyCode.Return |
KeyCode | cancelKey = KeyCode.Escape |
This is an implementation of ITextFieldUI for TK2D.
|
inline |
Accepts the text input and calls the accept handler delegate.
|
inline |
Cancels the text input field.
Implements PixelCrushers.DialogueSystem.ITextFieldUI.
|
inline |
Starts the text input field.
labelText | The label text. |
text | The current value to use for the input field. |
maxLength | Max length, or 0 for unlimited. |
acceptedText | The delegate to call when accepting text. |
Implements PixelCrushers.DialogueSystem.ITextFieldUI.
|
inline |
KeyCode PixelCrushers.DialogueSystem.TK2DSupport.TK2DTextFieldUI.acceptKey = KeyCode.Return |
KeyCode PixelCrushers.DialogueSystem.TK2DSupport.TK2DTextFieldUI.cancelKey = KeyCode.Escape |
tk2dTextMesh PixelCrushers.DialogueSystem.TK2DSupport.TK2DTextFieldUI.label |
The label.
tk2dUILayout PixelCrushers.DialogueSystem.TK2DSupport.TK2DTextFieldUI.panel |
The panel (optional).
tk2dUITextInput PixelCrushers.DialogueSystem.TK2DSupport.TK2DTextFieldUI.textInput |
The text input.