Version: 2019.3
public bool IsValid ();

戻り値

bool Whether this is a valid Scene.

説明

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.