protected static void Rename() { AssetBundleRename.SetAssetBundles(string.Format("{0}/{1}", Application.dataPath, GameConfig.Resource), (path) => { string name = path.Remove(0, Application.dataPath.Length + 1); if (name.Contains(".")) { name = name.Substring(0, name.IndexOf(".")); } return(name.ToLower()); }); AssetDatabase.Refresh(); }
protected static void Clear() { AssetBundleRename.Clear(); AssetDatabase.Refresh(); }