| Parameter | Description |
|---|---|
| typeHandle | A type handle for the component type that will be enabled or disabled. |
| entityIndexInChunk | The index within this chunk of the entity whose component should be checked. |
| value | True if the specified component should be enabled, or false if it should be disabled. |
Enable or disable a IComponentData 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.
Additional resources: ArchetypeChunk.IsComponentEnabled
| Parameter | Description |
|---|---|
| bufferTypeHandle | A type handle for the buffer component type that will be enabled or disabled. |
| entityIndexInChunk | The index within this chunk of the entity whose buffer component should be checked. |
| value | True if the specified buffer component should be enabled, or false if it should be disabled. |
Enable or disable a IBufferElementData 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.
Additional resources: ArchetypeChunk.IsComponentEnabled
| Parameter | Description |
|---|---|
| typeHandle | A type handle for the component type that will be enabled or disabled. |
| entityIndexInChunk | The index within this chunk of the entity whose component should be checked. |
| value | True if the specified component should be enabled, or false if it should be disabled. |
Enable or disable a IComponentData 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.