Unity Editor Scene Hooks

1 min. read

Problem: Automatically update the version of a scene based on the current datetime saved.

References
https://answers.unity.com/questions/175931/perform-action-on-saveload-in-editor.html

https://docs.unity3d.com/ScriptReference/AssetModificationProcessor.OnWillSaveAssets.html

https://docs.unity3d.com/ScriptReference/AssetModificationProcessor.html