Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.SavePersistentData

Switch to Manual
public void SavePersistentData ();

Description

Write persistence data to file.

This will write all persistence data on the current EditorWindow to file. Call when is most appropriate for your VisualElement but note that there is a file write involved.