This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

NavMeshWorld.IsValid

Declaration

public bool IsValid();

Description

Returns true if the NavMeshWorld has been properly initialized.

Currently the only way to obtain the single possible valid NavMesh world is through a call to NavMeshWorld.GetDefaultWorld.