docs.unity.cn
    Show / Hide Table of Contents

    Class EntityManagerManagedComponentExtensions

    Inheritance
    Object
    EntityManagerManagedComponentExtensions
    Namespace: Unity.Entities
    Syntax
    public static class EntityManagerManagedComponentExtensions

    Methods

    Name Description
    AddChunkComponentData<T>(EntityManager, Entity)

    Adds a chunk component to the specified entity.

    AddChunkComponentData<T>(EntityManager, EntityQuery, T)

    Adds a managed chunk component to each of the chunks identified by an EntityQuery and set the component values.

    AddComponentData<T>(EntityManager, Entity, T)

    Adds a managed component to an entity and set the value of that component.

    GetChunkComponentData<T>(EntityManager, ArchetypeChunk)

    Gets the value of a chunk component.

    GetChunkComponentData<T>(EntityManager, Entity)

    Gets the value of chunk component for the chunk containing the specified entity.

    GetComponentData<T>(EntityManager, Entity)

    Gets the value of a component for an entity.

    SetChunkComponentData<T>(EntityManager, ArchetypeChunk, T)

    Sets the value of a chunk component.

    SetComponentData<T>(EntityManager, Entity, T)

    Sets the value of a component of an entity.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use