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

    Class PreserveTags

    Provides a pseudo-localization method to preserve certain parts of a string and prevent them from being modified, such as Rich Text tags. The method works by identifying text that is contained between an opening and closing tag and marking it as a ReadOnlyMessageFragment.

    Inheritance
    Object
    PreserveTags
    Namespace: UnityEngine.Localization.Pseudo
    Syntax
    [Serializable]
    public class PreserveTags : IPseudoLocalizationMethod

    Properties

    Closing

    The closing tag used to identify when to preserve text.

    Declaration
    public char Closing { get; set; }
    Property Value
    Type Description
    Char

    Opening

    The opening tag used to identify when to preserve text.

    Declaration
    public char Opening { get; set; }
    Property Value
    Type Description
    Char

    Methods

    Transform(Message)

    Apply a Pseudo-Localization transformation to the Message.

    Declaration
    public void Transform(Message message)
    Parameters
    Type Name Description
    Message message
    Implements
    IPseudoLocalizationMethod.Transform(Message)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)