Struct TMP_LinkInfo
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