namespace XGame.Editor.Build
{
public partial class BuildConfig
{
public struct ProjectSettings
{
public string projectId;
public string productName;
public string applicationIdentifier;
public string bundleVersion;
public string versionCode;
public string assetVersionName;
public int assetVersionCode;
///
/// 忽略生成ilrt代码
///
public bool isIgnoreGenIlrt;
///
/// 输出目录
///
public string outputPath;
[System.Obsolete]
///
/// 是否强制重构Assetbundle
/// sbp推荐每次打包都是全量打包
///
public bool isForceRebuildAB;
///
/// 打包完是否保存 *.SpriteAtlas
/// 打包默认删除
/// 避免因为*.SpriteAtlas残留导致文件夹guid变化
///
public bool isSaveSpriteAtlas;
}
public struct GitSettings
{
///
/// git操作使用的token
///
[System.Obsolete]
public string gitToken;
///
/// 仓库地址(/分割后拿最后一个作为项目名)
///
public string gitAddress;
///
/// 分支
///
public string branch;
///
/// git的commitHash值
///
public string commitHash;
}
public struct EditorSettings
{
///
/// 打完包自动打开文件夹
///
public bool autoExplorer;
///
/// 打包结束后自动退出Unity
///
public bool autoExit;
///
/// 是否是本地打包
///
public bool isNative;
}
public struct AndroidSettings
{
///
/// Android有效
///
public AndroidArchitecture architecture;
///
/// 是否导出Android工程
///
public bool exportAsGoogleAndroidProject;
///
/// 是否分离二进制资源
/// 分离obb资源包,Unity国际版才能使用
///
[System.Obsolete("已废弃")]
public bool splitApplicationBinary;
}
///
/// 预留
///
public struct IOSSettings
{
}
}
}