Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Removed in version 2017.1.1p3

EditorApplication.SaveAssets

Obsolete public static void SaveAssets();

Description

Saves all serializable assets that have not yet been written to disk (eg. Materials).

Also makes sure the asset database is written. This function does the same thing as AssetDatabase.SaveAssets with the exception that it is allowed to be called during serialization, and the AssetDatabase function is not.

Did you find this page useful? Please give it a rating: