首次提交
This commit is contained in:
21
Assets/Scripts/Common/Data/TabListData.cs
Normal file
21
Assets/Scripts/Common/Data/TabListData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public class TabItemData
|
||||
{
|
||||
public int Id;
|
||||
public string Key;
|
||||
public string Icon;
|
||||
public bool IsAll;
|
||||
public string Name;
|
||||
|
||||
// 条目可以是任意对象类型
|
||||
public List<object> Items = new List<object>();
|
||||
|
||||
// 子菜单
|
||||
public List<TabItemData> Children = new List<TabItemData>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user