LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.SavePersistentData

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.