修改设置界面

This commit is contained in:
bob
2025-05-29 18:03:24 +08:00
parent cdcb007d6d
commit f421288244
306 changed files with 41744 additions and 612 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
namespace NBF
{
@@ -14,9 +15,25 @@ namespace NBF
public List<object> Items = new List<object>();
}
public class TabListData
{
public TabItemData Tab;
}
public class TabListSettingData : TabListData
{
/// <summary>
/// 设置保存对象
/// </summary>
public object SettingsObject;
}
/// <summary>
/// 保护二级子目录的列表
/// </summary>
public class TabListAndSubListData : TabListData
{
public List<TabSubItemData> SubTab = new List<TabSubItemData>();
public void AddTestData(int index)
@@ -31,7 +48,6 @@ namespace NBF
TabSubItemData subTab = new TabSubItemData();
subTab.Name = $"类型-{i}";
subTab.Icon = testIcon[Random.Range(0, testIcon.Length)];
// ListData.Add(new ListClassifyData($"Title-{i}"));
for (int j = 0; j < count2; j++)
{
var item = new ShopGearData();