Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

FileHandle.IsValid

Declaration

public bool IsValid();

Returns

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

Description

Reports whether this FileHandle instance is valid.

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