기술 자료

Unity Engine

Unity Engine

SaveAssets()

Saves all serializable assets that have not yet been written to disk (eg. Materials).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
경고
Removed. Use AssetDatabase.SaveAssets instead
Upgrade to SaveAssets
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.