# AssetModificationProcessor

> AssetModificationProcessor lets you hook into saving of serialized assets and scenes which are edited inside Unity.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
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.
