Class EntityManagerManagedComponentExtensions
Variants of EntityManager methods that support managed components.
Namespace: Unity.Entities
Assembly: solution.dll
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. |
AddComponentData<T>(EntityManager, SystemHandle, T) | Adds a managed component to an entity associated with a system and set the value of that component. |
CreateSingleton<T>(EntityManager, FixedString64Bytes) | Creates and supports only a single entity with a given managed component. |
CreateSingleton<T>(EntityManager, T, FixedString64Bytes) | Creates and supports only a single entity with a given managed 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. |
GetComponentData<T>(EntityManager, SystemHandle) | Gets the value of a component for an entity associated with a system. |
MoveComponent<T>(EntityManager, Entity, Entity) | Safely move a managed component on the source entity to another destination 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. |
SetComponentData<T>(EntityManager, SystemHandle, T) | Sets the value of a component of an entity associated with a system. |