IVariable
Represents a variable that can be provided through a global VariablesGroupAsset or as a local variable through localized string instead of as a string format argument. A variable can be a single variable, in which case the value should be returned in IVariable.GetSourceValue or a class with multiple variables which can then be further extracted with additional string format arguments.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Interface
- Namespace: Unity.SmartStrings.PersistentVariables
- Assembly: UnityEngine.SmartStringsModule
public interface IVariable
Methods
Method | Description |
|---|---|
| GetSourceValue | Returns the value to use when the smart string matches this variable. |