private static void GetDisableCachedInfo()
    {
        ClearAssetBundleCache();

        EditorPreferences.EditorprefSimulateAssetBundles = false;
        Logger.Log("Disabled asset bundle simulation mode.", Colors.Yellow);
    }
    private static void ClearAssetBundleCache()
    {
        //Get all cache paths... in Unity's unique way....
        var cachePaths = new List<string>();
        Caching.GetAllCachePaths(cachePaths); //what?! why?! WHY!?!?

        foreach (var s in cachePaths)
        {
            var cache = Caching.GetCacheByPath(cachePaths[0]);

            Logger.Log(("Cache location: " + s),Colors.Yellow);
            Logger.Log(("Cache was using: " + cache.spaceOccupied / 1024f / 1024f + " MB"),Colors.Yellow);

            cache.ClearCache();

            Logger.Log("Cache cleared.",Colors.Yellow);
        }

        if (cachePaths.Count < 1)
            Logger.Log("Cache was empty.",Colors.Yellow);
    }
 private static void DeletePersistentData()
 {
     //Delete Application.persistentDataPath
     Directory.Delete(Application.persistentDataPath, true);
     Logger.Log("Deleting persistent data directory " + Application.persistentDataPath, Colors.Yellow);
 }