docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_FontUtilities

    Inheritance
    Object
    TMP_FontUtilities
    Namespace: TMPro
    Syntax
    public static class TMP_FontUtilities

    Methods

    SearchForCharacter(List<TMP_FontAsset>, UInt32, out TMP_Character)

    Search through the given list of fonts and their possible fallbacks for the specified character.

    Declaration
    public static TMP_FontAsset SearchForCharacter(List<TMP_FontAsset> fonts, uint unicode, out TMP_Character character)
    Parameters
    Type Name Description
    List<TMP_FontAsset> fonts
    UInt32 unicode
    TMP_Character character
    Returns
    Type Description
    TMP_FontAsset

    SearchForCharacter(TMP_FontAsset, UInt32, out TMP_Character)

    Search through the given font and its fallbacks for the specified character.

    Declaration
    public static TMP_FontAsset SearchForCharacter(TMP_FontAsset font, uint unicode, out TMP_Character character)
    Parameters
    Type Name Description
    TMP_FontAsset font

    The font asset to search for the given character.

    UInt32 unicode

    The character to find.

    TMP_Character character

    out parameter containing the glyph for the specified character (if found).

    Returns
    Type Description
    TMP_FontAsset
    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