Struct TMP_WordInfo
Structure containing information about the individual words 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_WordInfo
Fields
characterCount
Declaration
public int characterCount
Field Value
Type | Description |
---|---|
System.Int32 |
firstCharacterIndex
Declaration
public int firstCharacterIndex
Field Value
Type | Description |
---|---|
System.Int32 |
lastCharacterIndex
Declaration
public int lastCharacterIndex
Field Value
Type | Description |
---|---|
System.Int32 |
textComponent
Declaration
public TMP_Text textComponent
Field Value
Type | Description |
---|---|
TMP_Text |
Methods
GetWord()
Returns the word as a string.
Declaration
public string GetWord()
Returns
Type | Description |
---|---|
System.String |