/// <summary> /// 派生ファイルを追加してロードを開始させる /// </summary> public void LoadAndAddSubFile(string path) { if (!SubFiles.ContainsKey(path)) { AssetFile file = AssetFileManager.Load(path, this.Version, this); SubFiles.Add(path, file); } }
/// <summary> /// 派生ファイルを追加してロードを開始させる /// </summary> public void LoadAndAddSubFile(string path) { if (!SubFiles.ContainsKey(path)) { if (IsDownloadOnly) { AssetFile file = AssetFileManager.GetFileCreateIfMissing(path); file.Version = this.Version; AssetFileManager.Download(file); } else { SubFiles.Add(path, AssetFileManager.Load(path, this.Version, this)); } } }