(client) chore:支持unity的方式加载资源,调整文件名与定义的分布

This commit is contained in:
m0_75251201
2025-08-07 14:20:58 +08:00
parent 6a222d82b2
commit 17d09a8435
93 changed files with 5267 additions and 90 deletions

View File

@ -0,0 +1,20 @@
using System.Xml.Linq;
namespace Data
{
public class ImageDef : Define
{
public string name;
public string path;
public int wCount;
public int hCount;
public int pixelsPerUnit = 16;
public override bool Init(XElement xmlDef)
{
base.Init(xmlDef);
name = defName;
return false;
}
}
}