using UnityEngine;
using UnityEditor.VersionControl;
class CustomAssetModificationProcessor : UnityEditor.AssetModificationProcessor
{
static void FileModeChanged(string[] paths, FileMode mode)
{
Debug.Log($"{nameof(FileModeChanged)} ({mode}):");
foreach (var path in paths)
Debug.Log(path);
}
}