45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
using UnityEngine;
|
||
|
||
namespace YooAsset
|
||
{
|
||
[CreateAssetMenu(fileName = "YooAssetSettings", menuName = "YooAsset/Create YooAsset Settings")]
|
||
internal class YooAssetSettings : ScriptableObject
|
||
{
|
||
/// <summary>
|
||
/// 清单文件名称
|
||
/// </summary>
|
||
public string ManifestFileName = "PackageManifest";
|
||
|
||
/// <summary>
|
||
/// 默认的YooAsset文件夹名称
|
||
/// </summary>
|
||
public string DefaultYooFolderName = "yoo";
|
||
|
||
|
||
/// <summary>
|
||
/// 清单文件头标记
|
||
/// </summary>
|
||
public const uint ManifestFileSign = 0x594F4F;
|
||
|
||
/// <summary>
|
||
/// 清单文件极限大小(100MB)
|
||
/// </summary>
|
||
public const int ManifestFileMaxSize = 104857600;
|
||
|
||
/// <summary>
|
||
/// 清单文件格式版本
|
||
/// </summary>
|
||
public const string ManifestFileVersion = "2.0.0";
|
||
|
||
|
||
/// <summary>
|
||
/// 构建输出文件夹名称
|
||
/// </summary>
|
||
public const string OutputFolderName = "OutputCache";
|
||
|
||
/// <summary>
|
||
/// 构建输出的报告文件
|
||
/// </summary>
|
||
public const string ReportFileName = "BuildReport";
|
||
}
|
||
} |