Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsValid()

Reports whether this FileHandle instance is valid.
Read time 1 minuteLast updated 12 days ago

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.)