2022-03-01 10:44:12 +08:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace YooAsset
|
|
|
|
|
|
{
|
2022-03-09 21:53:01 +08:00
|
|
|
|
[CreateAssetMenu(fileName = "YooAssetSettings", menuName = "YooAsset/Create Settings")]
|
2022-03-09 23:57:04 +08:00
|
|
|
|
internal class YooAssetSettings : ScriptableObject
|
2022-03-01 10:44:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// AssetBundle文件的后缀名
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string AssetBundleFileVariant = "bundle";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 原生文件的后缀名
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string RawFileVariant = "rawfile";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-07-31 23:09:54 +08:00
|
|
|
|
/// 补丁清单文件名称
|
2022-03-01 10:44:12 +08:00
|
|
|
|
/// </summary>
|
2022-04-12 19:15:44 +08:00
|
|
|
|
public string PatchManifestFileName = "PatchManifest";
|
2022-03-01 10:44:12 +08:00
|
|
|
|
|
2022-07-31 22:51:40 +08:00
|
|
|
|
|
2022-07-31 23:09:54 +08:00
|
|
|
|
/// <summary>
|
2022-10-26 21:02:25 +08:00
|
|
|
|
/// 补丁清单文件格式版本
|
2022-07-31 23:09:54 +08:00
|
|
|
|
/// </summary>
|
2022-11-02 21:54:44 +08:00
|
|
|
|
public const string PatchManifestFileVersion = "1.3.4";
|
2022-07-31 23:09:54 +08:00
|
|
|
|
|
2022-03-01 10:44:12 +08:00
|
|
|
|
/// <summary>
|
2022-07-31 22:51:40 +08:00
|
|
|
|
/// 构建输出文件夹名称
|
2022-03-01 10:44:12 +08:00
|
|
|
|
/// </summary>
|
2022-07-31 22:51:40 +08:00
|
|
|
|
public const string OutputFolderName = "OutputCache";
|
2022-07-15 19:34:59 +08:00
|
|
|
|
|
2022-03-01 10:44:12 +08:00
|
|
|
|
/// <summary>
|
2022-03-21 14:45:20 +08:00
|
|
|
|
/// 构建输出的报告文件
|
2022-03-16 22:22:55 +08:00
|
|
|
|
/// </summary>
|
2022-04-27 11:02:30 +08:00
|
|
|
|
public const string ReportFileName = "BuildReport";
|
2022-04-12 19:15:44 +08:00
|
|
|
|
|
2022-07-15 19:34:59 +08:00
|
|
|
|
/// <summary>
|
2022-08-03 15:46:27 +08:00
|
|
|
|
/// Unity着色器资源包名称
|
2022-07-15 19:34:59 +08:00
|
|
|
|
/// </summary>
|
2022-08-03 15:46:27 +08:00
|
|
|
|
public const string UnityShadersBundleName = "unityshaders";
|
2022-09-08 15:55:35 +08:00
|
|
|
|
|
2022-10-17 15:07:25 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 内置资源目录名称
|
|
|
|
|
|
/// </summary>
|
2022-10-18 10:13:04 +08:00
|
|
|
|
public const string StreamingAssetsBuildinFolder = "BuildinFiles";
|
2022-10-17 15:07:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
2022-09-08 15:55:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 忽略的文件类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static readonly string[] IgnoreFileExtensions = { "", ".so", ".dll", ".cs", ".js", ".boo", ".meta", ".cginc" };
|
2022-03-01 10:44:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|