docs.unity3d.com
    Show / Hide Table of Contents

    Struct TMP_WordInfo

    Structure containing information about the individual words contained in the text object.

    Namespace: TMPro
    Syntax
    public struct TMP_WordInfo

    Fields

    characterCount

    Declaration
    public int characterCount
    Field Value
    Type Description
    Int32

    firstCharacterIndex

    Declaration
    public int firstCharacterIndex
    Field Value
    Type Description
    Int32

    lastCharacterIndex

    Declaration
    public int lastCharacterIndex
    Field Value
    Type Description
    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
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023