Documentation

Unity Engine


Unity Engine


RequestSceneLoaded

A component that requests the load of a sub scene.
Read time 1 minuteLast updated a day ago

Definition

public struct RequestSceneLoaded : IComponentData, IQueryTypeParameter

Remarks

Add this to a scene meta entity to request the scene be loaded; remove it to request unload. The streaming system propagates RequestSceneLoaded from the scene meta entity to its section meta entities when SceneLoadFlags.DisableAutoLoad is not set, so per-section load requests typically inherit the scene-level fields automatically.

Fields

Value

Description

ImportEntityOptional main-world entity to copy into the per-section streaming world before ProcessAfterLoadGroup runs.
LoadFlagsContains flags that control the load process for sub scenes.