Version: 2023.2

AsyncReadManager

class in Unity.IO.LowLevel.Unsafe

切换到手册

描述

使用 AsyncReadManager,可以通过 Unity 的虚拟文件系统执行异步 I/O 操作。可以在任何线程或作业上执行这些操作。

静态函数

CloseCachedFileAsyncCloses a file held open internally by the AsyncReadManager.
GetFileInfoGets information about a file.
OpenFileAsyncOpens the file asynchronously.
Read发出一个异步文件读取操作。返回 ReadHandle。
ReadDeferredQueues a set of read operations for a file once the specified Jobs have completed.