With the AsyncReadManager, you can perform asynchronous I/O operations through Unity's virtual file system. You can perform these operations on any thread or job.
Note: On Windows and Xbox platforms, AsyncReadManager uses DirectStorage API for optimized file I/O operations when enabled in the Player settings > Other Settings > Configuration > Enable DirectStorage. For more information, refer to the documentation on Optimize performance using DirectStorage.
| Method | Description |
|---|---|
| CloseCachedFileAsync | Closes a file held open internally by the AsyncReadManager. |
| GetFileInfo | Gets information about a file. |
| OpenFileAsync | Opens the file asynchronously. |
| Read | Issues an asynchronous file read operation. Returns a ReadHandle. |
| ReadDeferred | Queues a set of read operations for a file once the specified Jobs have completed. |