Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 4 days ago

Definition

public interface IVariable

Methods

Method

Description

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