using System; using UnityEditor; using System.Collections.Generic; namespace SK.Framework { /// /// 打包工作项 /// [Serializable] public class BuildTask { /// /// 打包的产品名称 /// public string productName; /// /// 打包的目标平台 /// public BuildTarget buildTarget; /// /// 打包的保存路径 /// public string buildPath; /// /// 打包的场景列表 /// public List sceneAssets; /// /// 构造函数 /// /// 产品名称 /// 目标平台 /// 保存路径 public BuildTask(string productName, BuildTarget buildTarget, string buildPath) { this.productName = productName; this.buildTarget = buildTarget; this.buildPath = buildPath; sceneAssets = new List(); } } }