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

30 lines
805 B
C#
Raw 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 System.Collections.Generic;
namespace ArtResource
{
/// <summary>
/// JSON序列化用的表数据仅用于版本控制和跨项目数据共享
/// </summary>
[System.Serializable]
public class ArtTableJsonData
{
public int TableId;
public string TableName;
public List<ArtItemJsonData> Items;
}
/// <summary>
/// JSON序列化用的资源项数据
/// </summary>
[System.Serializable]
public class ArtItemJsonData
{
public int Id;
public string Name;
public string Desc;
public string SpritePath; // 使用路径字符串不是Unity引用
public string SpinePath; // 使用路径字符串不是Unity引用
public string SpineAnimName;
}
}