All Classes Namespaces Functions Variables Enumerations Enumerator Properties
plyCommonEditor.plyTextInputWiz Class Reference

A window with label and input field. More...

Inherits EditorWindow.

Static Public Member Functions

static void ShowWiz (string title, string label, string currText, GeneralCallback callback, object[] args)
 Shows the window. More...
 

Public Attributes

string text
 The value the user entered. Read this when your callback is called.
 

Detailed Description

A window with label and input field.

Member Function Documentation

static void plyCommonEditor.plyTextInputWiz.ShowWiz ( string  title,
string  label,
string  currText,
GeneralCallback  callback,
object[]  args 
)
static

Shows the window.

Parameters
titleThe title of the widow.
labelA label to show.
currTextExiting text to show in the input field. Options, you can pass null or empty string.
callbackA callback to call when the user accepts the input. Will not be called if he press cancel or close the window. You will read 'text' to find out what was entered into the input field.
argsExtra arguments to send on to the callback.