using System; using System.Collections.Generic; namespace NBC.Asset.Editor { public static class TaskId { /// /// 收集资源 /// public const int Gather = 1; /// /// 打包bundle /// public const int BuildBundle = 2; /// /// 生成版本清单 /// public const int GenPackageData = 3; /// /// 生成版本清单 /// public const int GenVersionData = 4; /// /// 拷贝bundle和版本清单 /// public const int CopyVersionBundle = 5; /// /// 拷贝至StreamingAssets /// public const int CopyToStreamingAssets = 6; } public class Defs { public static void AddTag(string tag) { if (!UserTags.Contains(tag)) { UserTags.Add(tag); } } public static readonly List UserTags = new List() { }; public const float DefWindowWidth = 960; public const float DefWindowHeight = 600; #if UNITY_2019_4_OR_NEWER public static readonly Type[] DockedWindowTypes = { typeof(CollectorWindow), typeof(ProfilerWindow), typeof(BuilderWindow), typeof(HistoryWindow) }; #endif } }