ドキュメント

Unity Engine

Unity Engine

Add(string, IVariable)

Adds a new Global Variable to use during formatting.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void Add(string name, IVariable variable)

Parameters

name

The name of the variable, must be unique. Note the name should not contain any whitespace, if any is found then it will be replaced with with '-'.

variable

The variable to use when formatting. See also BoolVariable, FloatVariable, IntVariable, StringVariable, ObjectVariable.