Struct CaretInfo
Structure which contains the character index and position of caret relative to the character.
Namespace: TMPro
Syntax
public struct CaretInfo
Constructors
CaretInfo(Int32, CaretPosition)
Declaration
public CaretInfo(int index, CaretPosition position)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | |
CaretPosition | position |
Fields
index
Declaration
public int index
Field Value
Type | Description |
---|---|
Int32 |
position
Declaration
public CaretPosition position
Field Value
Type | Description |
---|---|
CaretPosition |