(client) feat:添加瓦片动态定义和资源动态加载
This commit is contained in:
@ -107,10 +107,11 @@ namespace Data
|
||||
|
||||
public PackAbout packAbout;
|
||||
public string packID;
|
||||
|
||||
public string packRootPath;
|
||||
|
||||
public bool LoadPack(string packPath)
|
||||
{
|
||||
packRootPath=System.IO.Path.GetFullPath(packPath);;
|
||||
var packDatas = ConfigProcessor.LoadXmlFromPath(packPath);
|
||||
var aboutXmls = FindDocumentsWithRootName(packDatas, "About");
|
||||
if (aboutXmls == null || aboutXmls.Count < 1)
|
||||
|
Reference in New Issue
Block a user