public void AddArchive(string assetType, List <string> assetPathList, string archiveType) { if (assetType == "Common") { ResourceManager.AddCommonArchive(assetPathList, archiveType); return; } if (!archiveDict.ContainsKey(assetType)) { archiveDict[assetType] = new MVResourceManager(); } MVResourceManager manager = archiveDict[assetType]; manager.AddArchive(assetPathList, archiveType); }
public void AddArchive(string assetType, List<string> assetPathList, string archiveType) { if (assetType == "Common") { ResourceManager.AddCommonArchive(assetPathList, archiveType); return; } if (!archiveDict.ContainsKey(assetType)) archiveDict[assetType] = new MVResourceManager(); MVResourceManager manager = archiveDict[assetType]; manager.AddArchive(assetPathList, archiveType); }