| Assets/Editor/Tool/UpdateAssetBundleName.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Assets/Editor/Tool/UpdateAssetBundleName.cs
@@ -404,7 +404,7 @@ var allFiles = new DirectoryInfo(rootPath).GetFiles("*.mp4", SearchOption.AllDirectories); foreach (var file in allFiles) { var importerPath = assetPath + Path.DirectorySeparatorChar + file.Name; var importerPath = assetPath+ file.Name; var importer = AssetImporter.GetAtPath(importerPath); importer.assetBundleName = "video"; EditorUtility.SetDirty(importer);