Class TMP_TextParsingUtilities
Important
This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.
Inheritance
TMP_TextParsingUtilities
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public class TMP_TextParsingUtilities
Properties
instance
Get a singleton instance of the TextModuleUtilities.
Declaration
public static TMP_TextParsingUtilities instance { get; }
Property Value
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
GetHashCodeCaseSensitive(string)
Declaration
public static int GetHashCodeCaseSensitive(string s)
Parameters
| Type |
Name |
Description |
| string |
s |
|
Returns
IsHighSurrogate(uint)
Check if Unicode is High Surrogate
Declaration
public static bool IsHighSurrogate(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns
IsLowSurrogate(uint)
Check if Unicode is Low Surrogate
Declaration
public static bool IsLowSurrogate(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns
ToLowerASCIIFast(char)
Get lowercase version of this ASCII character.
Declaration
public static char ToLowerASCIIFast(char c)
Parameters
| Type |
Name |
Description |
| char |
c |
|
Returns
ToLowerASCIIFast(uint)
Get lowercase version of this ASCII character.
Declaration
public static uint ToLowerASCIIFast(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns
ToUpperASCIIFast(char)
Get uppercase version of this ASCII character.
Declaration
public static char ToUpperASCIIFast(char c)
Parameters
| Type |
Name |
Description |
| char |
c |
|
Returns
ToUpperASCIIFast(uint)
Get uppercase version of this ASCII character.
Declaration
public static uint ToUpperASCIIFast(uint c)
Parameters
| Type |
Name |
Description |
| uint |
c |
|
Returns