NGUI text field UI implementation.
More...
|
global::UIPanel | panel |
| The (optional) panel.
|
|
UILabel | label |
| The label that will contain any label text prompting the user what to enter.
|
|
UIInput | textField |
| The text field.
|
|
bool | alwaysKeepFocus = true |
| Set this true to prevent the user from deselecting the text field.
|
|
NGUI text field UI implementation.
◆ AcceptTextInput()
void PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.AcceptTextInput |
( |
| ) |
|
|
inline |
Accepts the text input and calls the accept handler delegate.
◆ CancelTextInput()
void PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.CancelTextInput |
( |
| ) |
|
|
inline |
◆ StartTextInput()
void PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.StartTextInput |
( |
string |
labelText, |
|
|
string |
text, |
|
|
int |
maxLength, |
|
|
AcceptedTextDelegate |
acceptedText |
|
) |
| |
|
inline |
Starts the text input field.
- Parameters
-
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.
◆ Update()
void PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.Update |
( |
| ) |
|
|
inline |
Ensure that the text field keeps focus.
◆ alwaysKeepFocus
bool PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.alwaysKeepFocus = true |
Set this true
to prevent the user from deselecting the text field.
◆ label
UILabel PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.label |
The label that will contain any label text prompting the user what to enter.
◆ panel
global.UIPanel PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.panel |
The (optional) panel.
If your text field UI contains more than a label and text field, you should assign the panel, too.
◆ textField
UIInput PixelCrushers.DialogueSystem.NGUISupport.NGUITextFieldUI.textField |
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/NGUI Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/NGUI Support/Scripts/NGUI Dialogue UI/NGUITextFieldUI.cs