Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

EditorApplication.SaveAssets

static function SaveAssets(): void;
static void SaveAssets();
static def SaveAssets() as void

Description

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

Also makes sure the asset database is written.