C# Class uREPL.CommandInputField

Inheritance: InputField
显示文件 Open project: hecomi/uREPL Class Usage Examples

Public Methods

Method Description
BackspaceOneCharacterFromCaretPosition ( ) : void
Clear ( ) : void
DeleteCharactersToLineEndAfterCaretPosition ( ) : void
DeleteOneCharacterFromCaretPosition ( ) : void
Focus ( ) : void
GetPositionBeforeCaret ( int offsetLen ) : Vector3
GetStringFromHeadToCaretPosition ( ) : string
InsertToCaretPosition ( string str ) : void
IsNullOrEmpty ( ) : bool
MoveCaretPosition ( int x ) : void
MoveCaretPositionToLineEnd ( ) : void
MoveCaretPositionToLineHead ( ) : void
MoveDown ( ) : void
MoveUp ( ) : void
OnUpdateSelected ( BaseEventData eventData ) : void
SetCaretPosition ( int pos ) : void

Method Details

BackspaceOneCharacterFromCaretPosition() public method

public BackspaceOneCharacterFromCaretPosition ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

DeleteCharactersToLineEndAfterCaretPosition() public method

public DeleteCharactersToLineEndAfterCaretPosition ( ) : void
return void

DeleteOneCharacterFromCaretPosition() public method

public DeleteOneCharacterFromCaretPosition ( ) : void
return void

Focus() public method

public Focus ( ) : void
return void

GetPositionBeforeCaret() public method

public GetPositionBeforeCaret ( int offsetLen ) : Vector3
offsetLen int
return UnityEngine.Vector3

GetStringFromHeadToCaretPosition() public method

public GetStringFromHeadToCaretPosition ( ) : string
return string

InsertToCaretPosition() public method

public InsertToCaretPosition ( string str ) : void
str string
return void

IsNullOrEmpty() public method

public IsNullOrEmpty ( ) : bool
return bool

MoveCaretPosition() public method

public MoveCaretPosition ( int x ) : void
x int
return void

MoveCaretPositionToLineEnd() public method

public MoveCaretPositionToLineEnd ( ) : void
return void

MoveCaretPositionToLineHead() public method

public MoveCaretPositionToLineHead ( ) : void
return void

MoveDown() public method

public MoveDown ( ) : void
return void

MoveUp() public method

public MoveUp ( ) : void
return void

OnUpdateSelected() public method

public OnUpdateSelected ( BaseEventData eventData ) : void
eventData UnityEngine.EventSystems.BaseEventData
return void

SetCaretPosition() public method

public SetCaretPosition ( int pos ) : void
pos int
return void