ドキュメント

Unity Engine

Unity Engine

MountAsync(ContentNamespace, string, string)

Loads all files in an archive to a mount point.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static ArchiveHandle MountAsync(ContentNamespace namespaceId, string filePath, string prefix)

Parameters

namespaceId

ContentNamespace identifier.

filePath

Path of the archive on disk.

prefix

Mount point identifier. Set to an empty string if no prefix should be used.

Returns

Type

Description

ArchiveHandleReturns 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.