CreateVariable(string,Yarn.IType,IConvertible,string)
public static Declaration CreateVariable(string name, Yarn.IType type, IConvertible defaultValue, string description = null)
Name | Description |
---|---|
string name | The name of the new declaration. |
The type of the declaration. | |
System.IConvertible defaultValue | The default value of the declaration. This must be a string, a number (integer or floating-point), or boolean value. |
string description | The description of the new declaration. |
Last modified 21d ago