기술 자료

Unity Engine


Unity Engine


AssetModificationProcessor

AssetModificationProcessor lets you hook into saving of serialized assets and scenes which are edited inside Unity.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public class AssetModificationProcessor

Remarks

This lets you prevent writing of assets by Unity for integration with VCS solutions like Perforce which require locking of files.
This can be used as a callback to know when Assets are saved. You can then make actions such as run code generator.