Status
The current status of this FileHandle.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: Unity.IO.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
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.