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

    Class DefaultSource

    Provides the ability to reference an argument by its index, the same as String.Format.

    Inheritance
    Object
    DefaultSource
    Namespace: UnityEngine.Localization.SmartFormat.Extensions
    Syntax
    [Serializable]
    public class DefaultSource : ISource

    Constructors

    DefaultSource(SmartFormatter)

    Creates a new instance of the formatter.

    Declaration
    public DefaultSource(SmartFormatter formatter)
    Parameters
    Type Name Description
    SmartFormatter formatter

    The formatter that the source is added to.

    Methods

    TryEvaluateSelector(ISelectorInfo)

    Performs the default index-based selector, same as String.Format.

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