Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsValid()

Whether this is a valid Scene. A Scene may be invalid if, for example, you tried to open a Scene that does not exist. In this case, the Scene returned from EditorSceneManager.OpenScene would return False for IsValid.
Read time 1 minuteLast updated 11 days ago

Definition

public bool IsValid()

Returns

Type

Description

boolWhether this is a valid Scene.