Struct RequestSceneLoaded
A component that requests the load of a sub scene.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
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 DisableAutoLoad is not set, so per-section load requests typically inherit the scene-level fields automatically.
Fields
| Name | Description |
|---|---|
| ImportEntity | Optional main-world entity to copy into the per-section streaming world before Unity.Scenes.ProcessAfterLoadGroup runs. |
| LoadFlags | Contains flags that control the load process for sub scenes. |