SaveAssets()
Saves all serializable assets that have not yet been written to disk (eg. Materials).
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void SaveAssets()
Remarks
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.