docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SmartSettings

    UnityEngine.Localization.SmartFormat settings to be applied for parsing and formatting.

    Inheritance
    object
    SmartSettings
    Namespace: UnityEngine.Localization.SmartFormat.Core.Settings
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class SmartSettings

    Properties

    Name Description
    CaseSensitivity

    Determines whether placeholders are case-sensitive or not.

    ConvertCharacterStringLiterals

    This setting is relevant for the LiteralText. If true (the default), character string literals are treated like in "normal" string.Format: string.Format("\t") will return a "TAB" character If false, character string literals are not converted, just like with this string.Format: string.Format(@"\t") will return the 2 characters "" and "t"

    FormatErrorAction

    Gets or sets the ErrorAction to apply for the SmartFormatter.

    ParseErrorAction

    Gets or sets the ErrorAction to apply for the Parser.

    In This Article
    Back to top
    Copyright © 2024 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)