docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023