Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AssetModificationProcessor

AssetModificationProcessor lets you hook into saving of serialized assets and scenes which are edited inside Unity.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.