static AssetMoveResult OnWillMoveAsset(string sourcePath, string destinationPath) { if (AssetWatcher.AssetAtPathIsGraphAsset(sourcePath)) { Version++; } return(AssetMoveResult.DidNotMove); }
static AssetDeleteResult OnWillDeleteAsset(string assetPath, RemoveAssetOptions options) { if (AssetWatcher.AssetAtPathIsGraphAsset(assetPath)) { Version++; } return(AssetDeleteResult.DidNotDelete); }