Class EntityManagerManagedComponentExtensions
Variants of EntityManager methods that support managed components.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public static class EntityManagerManagedComponentExtensions
Methods
Name | Description |
---|---|
Add |
Adds a chunk component to the specified entity. |
Add |
Adds a managed chunk component to each of the chunks identified by an EntityQuery and set the component values. |
Add |
Adds a managed component to an entity and set the value of that component. |
Add |
Adds a managed component to an entity associated with a system and set the value of that component. |
Create |
Creates and supports only a single entity with a given managed component. |
Create |
Creates and supports only a single entity with a given managed component. |
Get |
Gets the value of a chunk component. |
Get |
Gets the value of chunk component for the chunk containing the specified entity. |
Get |
Gets the value of a component for an entity. |
Get |
Gets the value of a component for an entity associated with a system. |
Move |
Safely move a managed component on the source entity to another destination entity. |
Set |
Sets the value of a chunk component. |
Set |
Sets the value of a component of an entity. |
Set |
Sets the value of a component of an entity associated with a system. |