Example #1
0
 static AssetMoveResult OnWillMoveAsset(string sourcePath, string destinationPath)
 {
     if (AssetWatcher.AssetAtPathIsVsGraphAsset(sourcePath))
     {
         Version++;
     }
     return(AssetMoveResult.DidNotMove);
 }
Example #2
0
 static AssetDeleteResult OnWillDeleteAsset(string assetPath, RemoveAssetOptions options)
 {
     if (AssetWatcher.AssetAtPathIsVsGraphAsset(assetPath))
     {
         Version++;
     }
     return(AssetDeleteResult.DidNotDelete);
 }