首次提交

This commit is contained in:
Bob.Song
2026-03-05 18:07:55 +08:00
commit e125bb869e
4534 changed files with 563920 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using Object = UnityEngine.Object;
namespace NBC.Asset.Editor
{
[Serializable]
public class GroupConfig : ISelectTag
{
public string Name;
[Header("是否启用")] public bool Enable = true;
[Header("打包模式")] public BundleMode BundleMode = BundleMode.Single;
[Header("寻址模式")] public AddressMode AddressMode = AddressMode.None;
[Header("标签(,分隔)")] public string Tags;
[Header("收集源")] public List<Object> Collectors = new List<Object>();
[Header("过滤器规则")] public FilterEnum FilterEnum = FilterEnum.All;
public string Filter = "*";
public string ShowTags
{
get => Tags;
set => Tags = value;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ac530b0df8bb42a0a6f08ecc1cdf8984
timeCreated: 1673923840

View File

@@ -0,0 +1,7 @@
namespace NBC.Asset.Editor
{
public interface ISelectTag
{
string ShowTags { get; set; }
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 149b01c9c6834709a5e3c7132f1b62e2
timeCreated: 1679564478

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace NBC.Asset.Editor
{
// [CreateAssetMenu(menuName = "NB/Res/" + nameof(PackageConfig), fileName = nameof(PackageConfig))]
[Serializable]
public class PackageConfig
{
public string Name;
[Header("是否启用")] public bool Enable = true;
[Header("是否默认包")] public bool Default = true;
[Header("打包选项")] public BuildAssetBundleOptions BundleOptions = BuildAssetBundleOptions.ChunkBasedCompression;
[Header("资源组")] public List<GroupConfig> Groups = new List<GroupConfig>();
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: b762a65e11264f408a0a62631dfcfa3a
timeCreated: 1673925286