docs.unity.cn
    Show / Hide Table of Contents

    Struct EntityCommandBuffer.ParallelWriter

    Allows concurrent (deterministic) command buffer recording.

    Namespace: Unity.Entities
    Syntax
    public struct ParallelWriter

    Methods

    Name Description
    AddBuffer<T>(Int32, Entity)
    AddComponent(Int32, Entity, ComponentType)
    AddComponent(Int32, Entity, ComponentTypes)

    Records a command to add one or more components to an entity.

    AddComponent<T>(Int32, Entity)
    AddComponent<T>(Int32, Entity, T)
    AddSharedComponent<T>(Int32, Entity, T)
    AppendToBuffer<T>(Int32, Entity, T)

    Appends a single element to the end of a dynamic buffer component.

    CreateEntity(Int32)

    Create an entity with no components.

    CreateEntity(Int32, EntityArchetype)

    Create an entity with specified archetype.

    DestroyEntity(Int32, Entity)
    Instantiate(Int32, Entity)
    RemoveComponent(Int32, Entity, ComponentType)
    RemoveComponent(Int32, Entity, ComponentTypes)

    Records a command to remove one or more components from an entity.

    RemoveComponent<T>(Int32, Entity)
    SetBuffer<T>(Int32, Entity)
    SetComponent<T>(Int32, Entity, T)
    SetSharedComponent<T>(Int32, Entity, T)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021