docs.unity.cn
    Show / Hide Table of Contents

    Struct ExclusiveEntityTransaction

    Namespace: Unity.Entities
    Syntax
    public struct ExclusiveEntityTransaction

    Properties

    Name Description
    EntityManager

    Return the entity manager this transaction operates upon

    Methods

    Name Description
    AddBuffer<T>(Entity)
    AddComponent(Entity, ComponentType)
    CreateArchetype(ComponentType[])
    CreateEntity(ComponentType[])
    CreateEntity(EntityArchetype)
    CreateEntity(EntityArchetype, NativeArray<Entity>)
    DestroyEntity(NativeArray<Entity>)
    DestroyEntity(NativeSlice<Entity>)
    DestroyEntity(Entity)
    Exists(Entity)
    GetBuffer<T>(Entity)
    GetComponentData<T>(Entity)
    GetSharedComponentData<T>(Entity)
    HasComponent(Entity, ComponentType)
    Instantiate(Entity)
    Instantiate(Entity, NativeArray<Entity>)
    RemoveComponent(Entity, ComponentType)
    SetComponentData<T>(Entity, T)
    SetSharedComponentData<T>(Entity, T)
    SwapComponents(ArchetypeChunk, Int32, ArchetypeChunk, Int32)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use