diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildMapHelper.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildMapHelper.cs index c12fc52..aba40d6 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildMapHelper.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildMapHelper.cs @@ -100,7 +100,7 @@ namespace YooAsset.Editor var buildAssetInfo = pair.Value; if (buildAssetInfo.BundleNameIsValid() == false) { - string shaderBundleName = AssetBundleGrouperSettingHelper.CollectShaderBundleName(buildAssetInfo.AssetPath); + string shaderBundleName = AssetBundleGrouperHelper.CollectShaderBundleName(buildAssetInfo.AssetPath); if (string.IsNullOrEmpty(shaderBundleName) == false) { buildAssetInfo.SetBundleName(shaderBundleName); @@ -108,7 +108,7 @@ namespace YooAsset.Editor else { string bundleName = defaultPackRule.GetBundleName(new PackRuleData(buildAssetInfo.AssetPath)); - bundleName = AssetBundleGrouperSettingHelper.CorrectBundleName(bundleName, false); + bundleName = AssetBundleGrouperHelper.CorrectBundleName(bundleName, false); buildAssetInfo.SetBundleName(bundleName); } } diff --git a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleCollector.cs b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleCollector.cs index f185ebf..a534a2e 100644 --- a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleCollector.cs +++ b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleCollector.cs @@ -197,7 +197,7 @@ namespace YooAsset.Editor } private string GetBundleName(AssetBundleGrouper grouper, string assetPath, bool isRawAsset) { - string shaderBundleName = AssetBundleGrouperSettingHelper.CollectShaderBundleName(assetPath); + string shaderBundleName = AssetBundleGrouperHelper.CollectShaderBundleName(assetPath); if (string.IsNullOrEmpty(shaderBundleName) == false) return shaderBundleName; @@ -205,7 +205,7 @@ namespace YooAsset.Editor { IPackRule packRuleInstance = AssetBundleGrouperSettingData.GetPackRuleInstance(PackRuleName); string bundleName = packRuleInstance.GetBundleName(new PackRuleData(assetPath, CollectPath, grouper.GrouperName)); - return AssetBundleGrouperSettingHelper.CorrectBundleName(bundleName, isRawAsset); + return AssetBundleGrouperHelper.CorrectBundleName(bundleName, isRawAsset); } } private List GetAssetTags(AssetBundleGrouper grouper) diff --git a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperSettingHelper.cs b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperHelper.cs similarity index 98% rename from Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperSettingHelper.cs rename to Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperHelper.cs index bac9b84..0f6581c 100644 --- a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperSettingHelper.cs +++ b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperHelper.cs @@ -6,7 +6,7 @@ using UnityEditor; namespace YooAsset.Editor { - public static class AssetBundleGrouperSettingHelper + public static class AssetBundleGrouperHelper { /// /// 收集着色器的资源包名称 diff --git a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperSettingHelper.cs.meta b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperHelper.cs.meta similarity index 100% rename from Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperSettingHelper.cs.meta rename to Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperHelper.cs.meta diff --git a/Assets/YooAsset/Runtime/Services/LocationServices/LocationServicesHelper.cs b/Assets/YooAsset/Runtime/Services/LocationServices/LocationServicesHelper.cs index 4896edb..4316986 100644 --- a/Assets/YooAsset/Runtime/Services/LocationServices/LocationServicesHelper.cs +++ b/Assets/YooAsset/Runtime/Services/LocationServices/LocationServicesHelper.cs @@ -9,7 +9,7 @@ namespace YooAsset public static void InitEditorPlayMode(bool enableAddressable) { - AssetBundleGrouperSettingHelperClassType = Assembly.Load("YooAsset.Editor").GetType("YooAsset.Editor.AssetBundleGrouperSettingHelper"); + AssetBundleGrouperSettingHelperClassType = Assembly.Load("YooAsset.Editor").GetType("YooAsset.Editor.AssetBundleGrouperHelper"); InvokePublicStaticMethod(AssetBundleGrouperSettingHelperClassType, "InitEditorPlayMode", enableAddressable); } public static string ConvertLocationToAssetPath(string location)