Struct WeakAssetReferenceLoadingSystem
System for loading assets into a runtime world.
Implements
Namespace: Unity.Scenes
Assembly: Unity.Scenes.dll
Syntax
[RequireMatchingQueriesForUpdate]
[WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor|WorldSystemFilterFlags.Streaming, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(SceneSystemGroup))]
[UpdateBefore(typeof(ResolveSceneReferenceSystem))]
[BurstCompile]
public struct WeakAssetReferenceLoadingSystem : ISystem
Methods
| Name | Description |
|---|---|
| CompleteLoad(ref SystemState, Entity, Entity, EntityPrefabReference) | Marks a prefab as loaded and cleans up the in progress state. |
| OnCreate(ref SystemState) | Callback invoked when the system is created. |
| OnCreateForCompiler(ref SystemState) | |
| OnDestroy(ref SystemState) | Callback invoked when the system is destroyed. |
| OnUpdate(ref SystemState) | Callback invoked when the system is updated. |