Struct TMP_LinkInfo
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 containing information about individual links contained in the text object.
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public struct TMP_LinkInfo
Fields
hashCode
Declaration
Field Value
linkIdFirstCharacterIndex
Declaration
public int linkIdFirstCharacterIndex
Field Value
linkIdLength
Declaration
Field Value
linkTextLength
Declaration
public int linkTextLength
Field Value
linkTextfirstCharacterIndex
Declaration
public int linkTextfirstCharacterIndex
Field Value
textComponent
Declaration
public TMP_Text textComponent
Field Value
Methods
GetLink()
Function which returns the link as a string.
Declaration
Returns
GetLinkID()
Function which returns the link ID as a string.
Declaration
public string GetLinkID()
Returns
GetLinkText()
Function which returns the text contained in a link.
Declaration
public string GetLinkText()
Returns