docs.unity.cn
    Show / Hide Table of Contents

    Enum CharacterSubstitutor.SubstitutionMethod

    The substitution method to use when applying Pseudo-Localization.

    Namespace: UnityEngine.Localization.Pseudo
    Syntax
    public enum SubstitutionMethod : int

    Fields

    Name Description Value
    ToUpper

    Converts all characters to uppercase.

    0
    ToLower

    Converts all characters to lowercase.

    1
    List

    Replaces all characters with a single character from ReplacementList. This method is a good way to find any hard coded text or to test for missing characters in a font.

    2
    Map

    Uses ReplacementMap to replace each character, when it is present in the dictionary.

    3
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 28, 2021