Property | Type | Description | |
---|---|---|---|
alert | bool | ||
allowClickCaretPlacement | bool | ||
autoCorrect | bool | ||
caretAnchor | SpriteRoot.ANCHOR_METHOD | ||
caretOffset | Vector3 | ||
caretSize | Vector2 | ||
commitOnLostFocus | bool | ||
customFocusEvent | POINTER_INFO.INPUT_EVENT | ||
customKeyboard | bool | ||
fieldFullSound | |||
hideInput | bool | ||
margins | Vector2 | ||
maskingCharacter | string | ||
maxLength | int | ||
methodToInvoke | string | ||
multiline | bool | ||
password | bool | ||
scriptWithMethodToInvoke | MonoBehaviour | ||
showCaretOnMobile | bool | ||
type | iPhoneKeyboardType | ||
typingSoundEffect |
Property | Type | Description | |
---|---|---|---|
cachedPos | Vector3 | ||
cachedRot | Quaternion | ||
cachedScale | Vector3 | ||
caret | AutoSprite, | ||
clientClippingRect | Rect3D | ||
commitDelegate | EZKeyboardCommitDelegate | ||
focusDelegate | FocusDelegate | ||
hasFocus | bool | ||
insert | int | ||
marginBottomRight | Vector2 | ||
marginTopLeft | Vector2 | ||
maxLengthExceeded | bool | ||
origTextPos | Vector3 | ||
stateIndices | ].int[ |
Method | Description | |
---|---|---|
AddCommitDelegate ( EZKeyboardCommitDelegate del ) : void |
Adds a delegate to be called when the content of the field is "committed" (when the return key is pressed on a single-line field, or when the "Done" button is pressed on an iOS keyboard).
|
|
AddFocusDelegate ( FocusDelegate del ) : void |
Adds a delegate to be called when the field receives the focus as determined by the customFocusEvent setting.
|
|
CalcClippingRect ( ) : void | ||
Commit ( ) : void | ||
Copy ( SpriteRoot, s ) : void | ||
Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
Create ( string name, Vector3 pos ) : UITextField, |
Creates a GameObject and attaches this component type to it.
|
|
Create ( string name, Vector3 pos, Quaternion rotation ) : UITextField, |
Creates a GameObject and attaches this component type to it.
|
|
DoMirror ( ) : void | ||
DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
GetInputText ( KEYBOARD_INFO, &info ) : string | ||
GetTransitions ( int index ) : EZTransitionList | ||
GotFocus ( ) : bool | ||
Hide ( bool tf ) : void | ||
InitUVs ( ) : void | ||
LostFocus ( ) : void | ||
OnDrawGizmosSelected ( ) : void | ||
OnEZRotated ( ) : void | ||
OnEZScaled ( ) : void | ||
OnEZTranslated ( ) : void | ||
OnInput ( POINTER_INFO, &ptr ) : void | ||
RemoveCommitDelegate ( EZKeyboardCommitDelegate del ) : void |
Removes a delegate previously added or set by AddCommitDelegate() or SetCommitDelegate().
|
|
RemoveFocusDelegate ( FocusDelegate del ) : void |
Removes a delegate previously added or set by AddFocusDelegate() or SetFocusDelegate().
|
|
SetCommitDelegate ( EZKeyboardCommitDelegate del ) : void |
Sets the delegate to be called when the content of the field is "committed" (when the return key is pressed on a single-line field, or when the "Done" button is pressed on an iOS keyboard). NOTE: This will unset any previously assigned commit delegate.
|
|
SetFocusDelegate ( FocusDelegate del ) : void |
Sets the delegate to be called when the field receives the focus as determined by the customFocusEvent setting. NOTE: This will unset any previously assigned focus delegate.
|
|
SetInputText ( string inputText, int &insertPt ) : string | ||
SetMargins ( Vector2 marg ) : void |
Sets the margins to the specified values.
|
|
Start ( ) : void | ||
Unclip ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CreateCaret ( ) : void | ||
HideCaret ( ) : void | ||
PositionCaret ( ) : void | ||
PositionCaret ( bool recur ) : void | ||
PositionInsertionPoint ( Vector3 pt ) : void | ||
PositionText ( bool recur ) : void | ||
ShowCaret ( ) : void |
public AddCommitDelegate ( EZKeyboardCommitDelegate del ) : void | ||
del | EZKeyboardCommitDelegate | The delegate to be called. |
return | void |
public AddFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be called. |
return | void |
public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
s | SpriteRoot, | |
flags | ControlCopyFlags | |
return | void |
static public Create ( string name, Vector3 pos ) : UITextField, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
return | UITextField, |
static public Create ( string name, Vector3 pos, Quaternion rotation ) : UITextField, | ||
name | string | Name to give to the new GameObject. |
pos | Vector3 | Position, in world space, where the new object should be created. |
rotation | Quaternion | Rotation of the object. |
return | UITextField, |
public DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
selState | int | |
gui | IGUIScriptSelector | |
return | void |
public GetInputText ( KEYBOARD_INFO, &info ) : string | ||
info | KEYBOARD_INFO, | |
return | string |
public GetTransitions ( int index ) : EZTransitionList | ||
index | int | |
return | EZTransitionList |
protected PositionCaret ( bool recur ) : void | ||
recur | bool | |
return | void |
protected PositionInsertionPoint ( Vector3 pt ) : void | ||
pt | Vector3 | |
return | void |
public RemoveCommitDelegate ( EZKeyboardCommitDelegate del ) : void | ||
del | EZKeyboardCommitDelegate | The delegate to be removed. |
return | void |
public RemoveFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be removed. |
return | void |
public SetCommitDelegate ( EZKeyboardCommitDelegate del ) : void | ||
del | EZKeyboardCommitDelegate | The delegate to be called. |
return | void |
public SetFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be called. |
return | void |
public SetInputText ( string inputText, int &insertPt ) : string | ||
inputText | string | |
insertPt | int | |
return | string |
public SetMargins ( Vector2 marg ) : void | ||
marg | Vector2 | The distance, in local units, in from the edges of /// the control where the text within should be clipped. |
return | void |
public SpriteRoot.ANCHOR_METHOD caretAnchor | ||
return | SpriteRoot.ANCHOR_METHOD |
protected EZKeyboardCommitDelegate commitDelegate | ||
return | EZKeyboardCommitDelegate |
public POINTER_INFO.INPUT_EVENT customFocusEvent | ||
return | POINTER_INFO.INPUT_EVENT |
public AudioSource,UnityEngine fieldFullSound | ||
return |
public MonoBehaviour scriptWithMethodToInvoke | ||
return | MonoBehaviour |