Method IsSceneLoaded
IsSceneLoaded(WorldUnmanaged, Entity)
Check if a scene or subscene is loaded.
Declaration
public static bool IsSceneLoaded(WorldUnmanaged world, Entity entity)
Parameters
| Type | Name | Description |
|---|---|---|
| WorldUnmanaged | world | The World in which the scene is loaded. |
| Entity | entity | The entity with the loading component data. This is the entity returned by LoadSceneAsync. |
Returns
| Type | Description |
|---|---|
| bool | True if the scene is loaded. |