Class SaveVariables
Forces saved variables to be saved to the PlayerPrefs. This is useful on WebGL where automatic save on quit is not supported.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Variables")]
public sealed class SaveVariables : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
enter
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
Methods
Definition()
Declaration
protected override void Definition()