Struct TMP_LinkInfo
Structure containing information about individual links contained in the text object.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: TMPro
Syntax
public struct TMP_LinkInfo
Fields
hashCode
Declaration
public int hashCode
Field Value
Type | Description |
---|---|
System.Int32 |
linkIdFirstCharacterIndex
Declaration
public int linkIdFirstCharacterIndex
Field Value
Type | Description |
---|---|
System.Int32 |
linkIdLength
Declaration
public int linkIdLength
Field Value
Type | Description |
---|---|
System.Int32 |
linkTextfirstCharacterIndex
Declaration
public int linkTextfirstCharacterIndex
Field Value
Type | Description |
---|---|
System.Int32 |
linkTextLength
Declaration
public int linkTextLength
Field Value
Type | Description |
---|---|
System.Int32 |
textComponent
Declaration
public TMP_Text textComponent
Field Value
Type | Description |
---|---|
TMP_Text |
Methods
GetLinkID()
Function which returns the link ID as a string.
Declaration
public string GetLinkID()
Returns
Type | Description |
---|---|
System.String |
GetLinkText()
Function which returns the text contained in a link.
Declaration
public string GetLinkText()
Returns
Type | Description |
---|---|
System.String |