MountAsync(ContentNamespace, string, string)
Loads all files in an archive to a mount point.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.IO.Archive
- Assembly: UnityEngine.CoreModule
public static ArchiveHandle MountAsync(ContentNamespace namespaceId, string filePath, string prefix)
Parameters
ContentNamespace identifier.
Path of the archive on disk.
Mount point identifier. Set to an empty string if no prefix should be used.
Returns
Type | Description |
|---|---|
| ArchiveHandle | Returns an operation handle that references the archive. |
Remarks
The mounted files can only be accessed through APIs that use Unity's virtual file system such as AsyncReadManager. They cannot be accessed through the regular C# APIs such as System.IO.