docs.unity3d.com
    Show / Hide Table of Contents

    Class ReflectionSource

    Provides the ability to select objects using reflection.

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

    Constructors

    ReflectionSource(SmartFormatter)

    Creates a new instance of the source.

    Declaration
    public ReflectionSource(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)
    In This Article
    • Constructors
      • ReflectionSource(SmartFormatter)
    • Methods
      • TryEvaluateSelector(ISelectorInfo)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023