From f541732952b31404c35981f5470ff39f1625e0b1 Mon Sep 17 00:00:00 2001 From: lwb <q3213421wrwqr> Date: 星期一, 18 一月 2021 14:55:50 +0800 Subject: [PATCH] 8697 【主干】分包下载提取原写死的打包逻辑 --- Assets/Editor/Tool/UpdateAssetBundleName.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Assets/Editor/Tool/UpdateAssetBundleName.cs b/Assets/Editor/Tool/UpdateAssetBundleName.cs index 25c3cf6..7715d5a 100644 --- a/Assets/Editor/Tool/UpdateAssetBundleName.cs +++ b/Assets/Editor/Tool/UpdateAssetBundleName.cs @@ -486,7 +486,7 @@ { var importerPath = assetPath + file.Name; var importer = AssetImporter.GetAtPath(importerPath); - importer.assetBundleName = "video/mp4"; + importer.assetBundleName = "video/"+Path.GetFileNameWithoutExtension(file.FullName); // EditorUtility.SetDirty(importer); } DebugEx.Log("Video璧勬簮鍖呭悕鏇存柊瀹屾垚!"); -- Gitblit v1.8.0