Struct CaretInfo
Important
This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.
Structure which contains the character index and position of caret relative to the character.
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
Constructors
CaretInfo(int, CaretPosition)
Declaration
public CaretInfo(int index, CaretPosition position)
Parameters
Fields
index
Declaration
Field Value
position
Declaration
public CaretPosition position
Field Value