docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_Compatibility

    Inheritance
    object
    TMP_Compatibility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)