首次提交

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,24 @@
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace NBC.Asset.Editor
{
[FilePath("Assets/CollectorSetting.asset")]
public class CollectorSetting : ScriptableSingleton<CollectorSetting>
{
/// <summary>
/// 资源包
/// </summary>
public List<PackageConfig> Packages = new List<PackageConfig>();
public void Save()
{
#if UNITY_EDITOR
EditorUtility.SetDirty(CollectorSetting.Instance);
AssetDatabase.SaveAssets();
#endif
}
}
}