using UnityEngine;
using System.Collections;
using UnityEditor;
public class AutoGenerateAssetBundleNameImproved : AssetPostprocessor
{
static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
{
for (int i = 0; i < importedAssets.Length; ++i)
{
Debug.Log("Imported asset: " + importedAssets[i]);
}
for (int i = 0; i < deletedAssets.Length; ++i)
{
Debug.Log("Deleted asset: " + deletedAssets[i]);
}
for (int i = 0; i < movedAssets.Length; ++i)
{
Debug.Log("Moved Asset: " + movedAssets[i] + " ---- From: " + movedFromAssetPaths[i]);
}
}
}