Свойство | Тип | Описание | |
---|---|---|---|
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 |
Свойство | Тип | Описание | |
---|---|---|---|
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[ |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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. |
Результат | void |
public AddFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be called. |
Результат | void |
public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
s | SpriteRoot, | |
flags | ControlCopyFlags | |
Результат | 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. |
Результат | 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. |
Результат | UITextField, |
public DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
selState | int | |
gui | IGUIScriptSelector | |
Результат | void |
public GetInputText ( KEYBOARD_INFO, &info ) : string | ||
info | KEYBOARD_INFO, | |
Результат | string |
public GetTransitions ( int index ) : EZTransitionList | ||
index | int | |
Результат | EZTransitionList |
public OnInput ( POINTER_INFO, &ptr ) : void | ||
ptr | POINTER_INFO, | |
Результат | void |
protected PositionCaret ( bool recur ) : void | ||
recur | bool | |
Результат | void |
protected PositionInsertionPoint ( Vector3 pt ) : void | ||
pt | Vector3 | |
Результат | void |
protected PositionText ( bool recur ) : void | ||
recur | bool | |
Результат | void |
public RemoveCommitDelegate ( EZKeyboardCommitDelegate del ) : void | ||
del | EZKeyboardCommitDelegate | The delegate to be removed. |
Результат | void |
public RemoveFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be removed. |
Результат | void |
public SetCommitDelegate ( EZKeyboardCommitDelegate del ) : void | ||
del | EZKeyboardCommitDelegate | The delegate to be called. |
Результат | void |
public SetFocusDelegate ( FocusDelegate del ) : void | ||
del | FocusDelegate | The delegate to be called. |
Результат | void |
public SetInputText ( string inputText, int &insertPt ) : string | ||
inputText | string | |
insertPt | int | |
Результат | 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. |
Результат | void |
public SpriteRoot.ANCHOR_METHOD caretAnchor | ||
Результат | SpriteRoot.ANCHOR_METHOD |
protected EZKeyboardCommitDelegate commitDelegate | ||
Результат | EZKeyboardCommitDelegate |
public POINTER_INFO.INPUT_EVENT customFocusEvent | ||
Результат | POINTER_INFO.INPUT_EVENT |
public AudioSource,UnityEngine fieldFullSound | ||
Результат |
public MonoBehaviour scriptWithMethodToInvoke | ||
Результат | MonoBehaviour |