Class ReflectionSource
Provides the ability to select objects using reflection.
Implements
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class ReflectionSource : ISource
Constructors
| Name | Description |
|---|---|
| ReflectionSource(SmartFormatter) | Creates a new instance of the source. |
Methods
| Name | Description |
|---|---|
| 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. |