Class TMP_Compatibility
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public static class TMP_Compatibility
Methods
ConvertTextAlignmentEnumValues(TextAlignmentOptions)
Converts a legacy text alignment enumeration value to TextAlignmentOptions.
Declaration
public static TextAlignmentOptions ConvertTextAlignmentEnumValues(TextAlignmentOptions oldValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TextAlignmentOptions | oldValue | The legacy text alignment enumeration value to convert. |
Returns
| Type | Description |
|---|---|
| TextAlignmentOptions | The converted TextAlignmentOptions value for the given legacy alignment. |