Art_SubModule/Art_Scripts/ArtTableSO.cs
2026-01-24 17:39:11 +08:00

29 lines
780 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using UnityEngine;
using System.Collections.Generic;
namespace ArtResource
{
/// <summary>
/// 美术资源表ScriptableObject
/// 单一数据源Editor和Runtime都从此加载
/// </summary>
[CreateAssetMenu(fileName = "NewArtTable", menuName = "美术资源/资源表配置", order = 1)]
public class ArtTableSO : ScriptableObject
{
/// <summary>
/// 表ID全局唯一系统自动分配
/// </summary>
public int TableId;
/// <summary>
/// 表名称(全局唯一,用于标识)
/// </summary>
public string TableName;
/// <summary>
/// 资源项列表
/// </summary>
public List<ArtItemData> Items = new List<ArtItemData>();
}
}