Class SceneSectionStreamingSystem
System that controls streaming scene sections.
Inherited Members
Namespace: Unity.Scenes
Assembly: Unity.Scenes.dll
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor|WorldSystemFilterFlags.Streaming, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(SceneSystemGroup))]
[UpdateAfter(typeof(ResolveSceneReferenceSystem))]
[BurstCompile]
public class SceneSectionStreamingSystem : SystemBase
Properties
Name | Description |
---|---|
ConcurrentSectionStreamCount | The maximum amount of sections that will be streamed in concurrently. This defaults to 4. |
MaximumSectionsUnloadedPerUpdate | The maximum number of scene sections that will be unloaded per update tick. A value equal to or below zero indicates that the number of sections to unload per update is unlimited. This defaults to a negative value. |
MaximumWorldsMovedPerUpdate | The maximum amount of streaming worlds that will be moved into the main world per update. This defaults to 1. |
Methods
Name | Description |
---|---|
OnCreate() | Called when this system is created. |
OnCreateForCompiler() | |
OnDestroy() | Called when this system is destroyed. |
OnUpdate() | Called when this system is updated. |