IComponentData
This interface marks a struct as a component.
Read time 1 minuteLast updated a day ago
Definition
- Type: Interface
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public interface IComponentData : IQueryTypeParameter
Remarks
Only one of a given type can be added to each entity. To associate multiple values of a given component type with an entity, use IBufferElementData.
IComponentDataFor more information, see the documentation on components.