20 lines
440 B
C#
20 lines
440 B
C#
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 List<object> Items = new List<object>();
|
|
|
|
// 子菜单
|
|
public List<TabItemData> Children = new List<TabItemData>();
|
|
}
|
|
} |