VariableKind

Enum in Yarn

Inherits from System.Enum

Summary

Represents different kinds of variables that can be fetched from a Dialogue using TryGetValue<T>(string,T?) .

public enum VariableKind
{
    Unknown,
    Stored,
    Smart
}

Members

NameDescription
SmartThe variable’s value is computed at run-time, and is not persisted to disk.
StoredThe variable’s value is stored in memory, and may be persisted to disk.
UnknownThe kind of the variable cannot be determined. It may not be known to the system.