docs.unity.cn
    Show / Hide Table of Contents

    Class TMP_TextParsingUtilities

    Inheritance
    Object
    TMP_TextParsingUtilities
    Namespace: TMPro
    Syntax
    public class TMP_TextParsingUtilities

    Properties

    instance

    Get a singleton instance of the TextModuleUtilities.

    Declaration
    public static TMP_TextParsingUtilities instance { get; }
    Property Value
    Type Description
    TMP_TextParsingUtilities

    Methods

    GetHashCode(String)

    Function returning the hashcode value of a given string.

    Declaration
    public static int GetHashCode(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    Int32

    GetHashCodeCaseSensitive(String)

    Declaration
    public static int GetHashCodeCaseSensitive(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    Int32

    IsHighSurrogate(UInt32)

    Check if Unicode is High Surrogate

    Declaration
    public static bool IsHighSurrogate(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    Boolean

    IsLowSurrogate(UInt32)

    Check if Unicode is Low Surrogate

    Declaration
    public static bool IsLowSurrogate(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    Boolean

    ToLowerASCIIFast(Char)

    Get lowercase version of this ASCII character.

    Declaration
    public static char ToLowerASCIIFast(char c)
    Parameters
    Type Name Description
    Char c
    Returns
    Type Description
    Char

    ToLowerASCIIFast(UInt32)

    Get lowercase version of this ASCII character.

    Declaration
    public static uint ToLowerASCIIFast(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    UInt32

    ToUpperASCIIFast(Char)

    Get uppercase version of this ASCII character.

    Declaration
    public static char ToUpperASCIIFast(char c)
    Parameters
    Type Name Description
    Char c
    Returns
    Type Description
    Char

    ToUpperASCIIFast(UInt32)

    Get uppercase version of this ASCII character.

    Declaration
    public static uint ToUpperASCIIFast(uint c)
    Parameters
    Type Name Description
    UInt32 c
    Returns
    Type Description
    UInt32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 23 April 2021