PixelCrushers.DialogueSystem.ITextFieldUI Interface Reference

Interface for text field UI components. More...

Inheritance diagram for PixelCrushers.DialogueSystem.ITextFieldUI:

Public Member Functions

void StartTextInput (string labelText, string text, int maxLength, AcceptedTextDelegate acceptedText)
 Called to display the text field and start handling input. More...
 
void CancelTextInput ()
 Called to force the text field to cancel. More...
 

Detailed Description

Interface for text field UI components.

Components implementing this interface should provide a GUI control for entering text.

See UnityTextFieldUI for a reference implementation that uses Unity GUI.

Member Function Documentation

◆ CancelTextInput()

◆ StartTextInput()

void PixelCrushers.DialogueSystem.ITextFieldUI.StartTextInput ( string  labelText,
string  text,
int  maxLength,
AcceptedTextDelegate  acceptedText 
)

Called to display the text field and start handling input.

When the user accepts the input (e.g., by pressing the Return key), call the acceptedText delegate.

Implemented in PixelCrushers.DialogueSystem.UnityUITextFieldUI, PixelCrushers.DialogueSystem.UnityGUI.UnityTextFieldUI, PixelCrushers.DialogueSystem.TK2D.TK2DTextFieldUI, PixelCrushers.DialogueSystem.NGUI.NGUITextFieldUI, and PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTextFieldUI.


The documentation for this interface was generated from the following file: