mirror of https://github.com/tuyoogame/YooAsset
parent
985c76d8ce
commit
dcaafedabb
|
@ -5,11 +5,6 @@ namespace YooAsset
|
|||
[CreateAssetMenu(fileName = "YooAssetSettings", menuName = "YooAsset/Create YooAsset Settings")]
|
||||
internal class YooAssetSettings : ScriptableObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 清单文件名称
|
||||
/// </summary>
|
||||
public string ManifestFileName = "PackageManifest";
|
||||
|
||||
/// <summary>
|
||||
/// 默认的YooAsset文件夹名称
|
||||
/// </summary>
|
||||
|
@ -36,10 +31,5 @@ namespace YooAsset
|
|||
/// 构建输出文件夹名称
|
||||
/// </summary>
|
||||
public const string OutputFolderName = "OutputCache";
|
||||
|
||||
/// <summary>
|
||||
/// 构建输出的报告文件
|
||||
/// </summary>
|
||||
public const string ReportFileName = "BuildReport";
|
||||
}
|
||||
}
|
|
@ -38,7 +38,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static string GetReportFileName(string packageName, string packageVersion)
|
||||
{
|
||||
return $"{YooAssetSettings.ReportFileName}_{packageName}_{packageVersion}.json";
|
||||
return $"{packageName}_{packageVersion}.report";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -46,7 +46,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static string GetManifestBinaryFileName(string packageName, string packageVersion)
|
||||
{
|
||||
return $"{Setting.ManifestFileName}_{packageName}_{packageVersion}.bytes";
|
||||
return $"{packageName}_{packageVersion}.bytes";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -54,7 +54,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static string GetManifestJsonFileName(string packageName, string packageVersion)
|
||||
{
|
||||
return $"{Setting.ManifestFileName}_{packageName}_{packageVersion}.json";
|
||||
return $"{packageName}_{packageVersion}.json";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -62,7 +62,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static string GetPackageHashFileName(string packageName, string packageVersion)
|
||||
{
|
||||
return $"{Setting.ManifestFileName}_{packageName}_{packageVersion}.hash";
|
||||
return $"{packageName}_{packageVersion}.hash";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -70,7 +70,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static string GetPackageVersionFileName(string packageName)
|
||||
{
|
||||
return $"{Setting.ManifestFileName}_{packageName}.version";
|
||||
return $"{packageName}.version";
|
||||
}
|
||||
|
||||
#region 路径相关
|
||||
|
|
Loading…
Reference in New Issue