using UnityEngine; using Spine.Unity; namespace ArtResource { /// /// 美术资源项数据结构 /// [System.Serializable] public class ArtItemData { /// /// 资源ID(唯一标识) /// public int Id; /// /// 资源名称(唯一,用于查询) /// public string Name; /// /// 资源描述 /// public string Desc; /// /// 图片资源引用(Editor模式使用) /// public Sprite Sprite; /// /// 图片资源路径(Runtime模式使用,由Editor工具自动填充) /// public string SpritePath; /// /// Spine骨骼资源引用(Editor模式使用) /// public SkeletonDataAsset SpineAsset; /// /// Spine资源路径(Runtime模式使用,由Editor工具自动填充) /// public string SpineAssetPath; /// /// Spine动画名称 /// public string SpineAnimName; } }