Class EntityManagerManagedComponentExtensions
Namespace: Unity.Entities
Syntax
public static class EntityManagerManagedComponentExtensions : object
Methods
Name | Description |
---|---|
AddChunkComponentData<T>(EntityManager, Entity) | Adds a chunk component to the specified entity. |
AddChunkComponentData<T>(EntityManager, EntityQuery, T) | Adds a component to each of the chunks identified by a EntityQuery and set the component values. |
AddComponentData<T>(EntityManager, Entity, T) | Adds a 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. |