docs.unity.cn
    Show / Hide Table of Contents

    Class ValueTupleSource

    Provides the ability to iterate through a Tuple values.

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

    Constructors

    ValueTupleSource(SmartFormatter)

    Creates a new instance of the source.

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

    Methods

    TryEvaluateSelector(ISelectorInfo)

    Evaluates the ISelectorInfo based on the CurrentValue. If this extension cannot evaluate the Selector, returns False. Otherwise, sets the Result and returns true.

    Declaration
    public bool TryEvaluateSelector(ISelectorInfo selectorInfo)
    Parameters
    Type Name Description
    ISelectorInfo selectorInfo
    Returns
    Type Description
    Boolean
    Implements
    ISource.TryEvaluateSelector(ISelectorInfo)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use