docs.unity3d.com
    目次を表示する/隠す

    Class SmartSettings

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

    Inheritance
    Object
    SmartSettings
    Namespace: UnityEngine.Localization.SmartFormat.Core.Settings
    Syntax
    [Serializable]
    public class SmartSettings

    Properties

    CaseSensitivity

    Determines whether placeholders are case-sensitive or not.

    Declaration
    public CaseSensitivityType CaseSensitivity { get; set; }
    Property Value
    Type Description
    CaseSensitivityType

    ConvertCharacterStringLiterals

    This setting is relevant for the UnityEngine.Localization.SmartFormat.Core.Parsing.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"

    Declaration
    public bool ConvertCharacterStringLiterals { get; set; }
    Property Value
    Type Description
    Boolean

    FormatErrorAction

    Gets or sets the ErrorAction to apply for the SmartFormatter.

    Declaration
    public ErrorAction FormatErrorAction { get; set; }
    Property Value
    Type Description
    ErrorAction

    ParseErrorAction

    Gets or sets the ErrorAction to apply for the UnityEngine.Localization.SmartFormat.Core.Parsing.Parser.

    Declaration
    public ErrorAction ParseErrorAction { get; set; }
    Property Value
    Type Description
    ErrorAction
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)