docs.unity.cn
    Show / Hide Table of Contents

    Struct WeakAssetReferenceLoadingSystem

    System for loading assets into a runtime world.

    Namespace: Unity.Scenes
    Syntax
    [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.

    OnDestroy(ref SystemState)

    Callback invoked when the system is destroyed.

    OnUpdate(ref SystemState)

    Callback invoked when the system is updated.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023