Class EntityCommandBufferManagedComponentExtensions
Provides additional methods for using managed components with an EntityCommandBuffer.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public static class EntityCommandBufferManagedComponentExtensions
Methods
Name | Description |
---|---|
AddComponentForEntityQuery<T>(EntityCommandBuffer, EntityQuery, T) | Obsolete. Use AddComponent<T>(EntityCommandBuffer, EntityQuery, T) instead. |
AddComponent<T>(EntityCommandBuffer, Entity) | Records a command to add a managed component for an entity. |
AddComponent<T>(EntityCommandBuffer, Entity, T) | Records a command to add and set a managed component for an entity. |
AddComponent<T>(EntityCommandBuffer, EntityQuery, T) | Records a command to add a managed component and set its value for all entities matching a query. |
SetComponentEnabled<T>(EntityCommandBuffer, Entity, bool) | Records a command to enable or disable a ComponentType on the specified Entity. This operation does not cause a structural change, or affect the value of the component. For the purposes of EntityQuery matching, an entity with a disabled component will behave as if it does not have that component. |
SetComponentForEntityQuery<T>(EntityCommandBuffer, EntityQuery, T) | Obsolete. Use SetComponent<T>(EntityCommandBuffer, EntityQuery, T) instead. |
SetComponent<T>(EntityCommandBuffer, Entity, T) | Records a command to set a managed component for an entity. |
SetComponent<T>(EntityCommandBuffer, EntityQuery, T) | Records a command to set a managed component value for all entities matching a query. |