可以监听Unity Project面板下,所有资源的变化(导入,删除,重载) using UnityEngine; using UnityEditor; class MyAllPostprocessor : AssetPostprocessor { static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)…