EditorApplication.SaveAssets

static function SaveAssets () : void

Description

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

Also makes sure the asset database is written.