Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Status

The current status of this FileHandle.
Read time 1 minuteLast updated 12 days ago

Definition

public FileStatus Status { get; }

Remarks

After you call AsyncReadManager.OpenFileAsync, the FileHandle enters the FileStatus.Pending state. Once the open operation completes, the status changes to either FileStatus.Open or FileStatus.Closed (if the file failed to open).
Note: When the close operation completes, the FileHandle is disposed and becomes invalid. You can use the JobHandle returned by FileHandle.Close to check for close operation completion.