コード例 #1
0
        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);
        }
コード例 #2
0
 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);
 }