Class TMP_Compatibility
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.
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public static class TMP_Compatibility
Methods
ConvertTextAlignmentEnumValues(TextAlignmentOptions)
Function used to convert text alignment option enumeration format.
Declaration
public static TextAlignmentOptions ConvertTextAlignmentEnumValues(TextAlignmentOptions oldValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TextAlignmentOptions | oldValue |
Returns
| Type | Description |
|---|---|
| TextAlignmentOptions |