Struct TMP_LinkInfo
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TMP_LinkInfo

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

    Namespace: TMPro
    Syntax
    public struct TMP_LinkInfo

    Fields

    hashCode

    Declaration
    public int hashCode
    Field Value
    Type Description
    Int32

    linkIdFirstCharacterIndex

    Declaration
    public int linkIdFirstCharacterIndex
    Field Value
    Type Description
    Int32

    linkIdLength

    Declaration
    public int linkIdLength
    Field Value
    Type Description
    Int32

    linkTextfirstCharacterIndex

    Declaration
    public int linkTextfirstCharacterIndex
    Field Value
    Type Description
    Int32

    linkTextLength

    Declaration
    public int linkTextLength
    Field Value
    Type Description
    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
    String

    GetLinkText()

    Function which returns the text contained in a link.

    Declaration
    public string GetLinkText()
    Returns
    Type Description
    String
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX