Search Results for

    Show / Hide Table of Contents

    Class LocalizationUtils

    Utility methods for handling locales and common localization patterns.

    Inheritance
    Object
    LocalizationUtils
    Namespace: NoSuchStudio.Localization
    Assembly: NoSuchStudio-Localization.dll
    Syntax
    public static class LocalizationUtils

    Methods

    LTR(TextAlignmentOptions)

    Declaration
    public static TextAlignmentOptions LTR(this TextAlignmentOptions tao)
    Parameters
    Type Name Description
    TMPro.TextAlignmentOptions tao
    Returns
    Type Description
    TMPro.TextAlignmentOptions

    LTR(TextAnchor)

    Declaration
    public static TextAnchor LTR(this TextAnchor textAnchor)
    Parameters
    Type Name Description
    UnityEngine.TextAnchor textAnchor
    Returns
    Type Description
    UnityEngine.TextAnchor

    RTL(TextAlignmentOptions)

    Declaration
    public static TextAlignmentOptions RTL(this TextAlignmentOptions tao)
    Parameters
    Type Name Description
    TMPro.TextAlignmentOptions tao
    Returns
    Type Description
    TMPro.TextAlignmentOptions

    RTL(TextAnchor)

    Declaration
    public static TextAnchor RTL(this TextAnchor textAnchor)
    Parameters
    Type Name Description
    UnityEngine.TextAnchor textAnchor
    Returns
    Type Description
    UnityEngine.TextAnchor

    RTLReverse(TextAlignmentOptions)

    Declaration
    public static TextAlignmentOptions RTLReverse(this TextAlignmentOptions tao)
    Parameters
    Type Name Description
    TMPro.TextAlignmentOptions tao
    Returns
    Type Description
    TMPro.TextAlignmentOptions

    RTLReverse(TextAlignment)

    Declaration
    public static TextAlignment RTLReverse(this TextAlignment textAlignment)
    Parameters
    Type Name Description
    UnityEngine.TextAlignment textAlignment
    Returns
    Type Description
    UnityEngine.TextAlignment

    RTLReverse(TextAnchor)

    Declaration
    public static TextAnchor RTLReverse(this TextAnchor textAnchor)
    Parameters
    Type Name Description
    UnityEngine.TextAnchor textAnchor
    Returns
    Type Description
    UnityEngine.TextAnchor
    In This Article
    Back to top Generated by DocFX