文档

Unity Engine

Unity Engine

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

public interface IVariable

Methods

Method

Description

GetSourceValueReturns the value to use when the smart string matches this variable.