This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

VariableStorageBehaviour.ResetToDefaults Method

Resets the VariableStorageBehaviour to its initial state.

public abstract void ResetToDefaults()

Remarks

This is similar to Clear(), but additionally allows subclasses to restore any default values that should be present.

Source

Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 1212.