2025-03-11 17:46:52 +08:00
|
|
|
using System;
|
2025-03-24 13:17:04 +08:00
|
|
|
using AlicizaX;
|
2025-03-11 17:46:52 +08:00
|
|
|
using UnityEditor;
|
2025-08-01 19:32:29 +08:00
|
|
|
using UnityEngine;
|
2025-03-11 17:46:52 +08:00
|
|
|
using UnityEngine.Serialization;
|
2025-07-29 09:45:36 +08:00
|
|
|
using YooAsset;
|
2025-03-11 17:46:52 +08:00
|
|
|
using YooAsset.Editor;
|
|
|
|
|
2025-03-20 14:23:00 +08:00
|
|
|
|
2025-03-20 14:17:24 +08:00
|
|
|
public class AppBuildParameter
|
2025-03-11 17:46:52 +08:00
|
|
|
{
|
2025-03-20 14:23:00 +08:00
|
|
|
public BuildTarget BuildTarget;
|
|
|
|
public string OutPutPath;
|
|
|
|
public bool ShowDebugWnd;
|
|
|
|
public bool DevelopBuild;
|
|
|
|
public int ResMode;
|
|
|
|
public string FileName;
|
|
|
|
public Language Language;
|
2025-08-01 19:32:29 +08:00
|
|
|
public string[] Scenes;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本
|
|
|
|
/// </summary>
|
|
|
|
public string Version;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否全屏
|
|
|
|
/// </summary>
|
|
|
|
public FullScreenMode FullScreenMode;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 窗口化大小
|
|
|
|
/// </summary>
|
|
|
|
public Vector2Int WindowedScreenSize;
|
2025-03-11 17:46:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2025-03-20 14:17:24 +08:00
|
|
|
public class ResourceBuildParameter
|
2025-03-11 17:46:52 +08:00
|
|
|
{
|
2025-03-20 14:23:00 +08:00
|
|
|
public BuildTarget ResourceBuildTarget;
|
|
|
|
public string PackageVersion;
|
|
|
|
public bool UseDefaultPackageVersion;
|
|
|
|
public string OutputPath;
|
|
|
|
public ResourceBuildMode BuildMode;
|
2025-03-11 17:46:52 +08:00
|
|
|
|
2025-03-20 14:17:24 +08:00
|
|
|
|
2025-03-20 14:23:00 +08:00
|
|
|
public ECompressOption CompressOption = ECompressOption.LZ4;
|
2025-07-29 09:45:36 +08:00
|
|
|
public EFileNameStyle FileNameStyle = EFileNameStyle.BundleName_HashName;
|
2025-03-20 14:23:00 +08:00
|
|
|
public string EncryptionServiceType = "AlicizaX.Resource.Editor.FileOffsetEncryption";
|
2025-03-11 17:46:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public enum ResourceBuildMode
|
|
|
|
{
|
|
|
|
Offline,
|
|
|
|
Online,
|
|
|
|
}
|