文档

Unity Engine

Unity Engine

IsValid()

Reports whether this FileHandle instance is valid.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool IsValid()

Returns

Type

Description

boolTrue, if this FileHandle represents an open file; otherwise, false.

Remarks

A FileHandle is invalid if the open operation failed or the FileHandle has been closed. (Creating a new FileHandle object is also invalid.)