IComponentData
This interface marks a struct as a component.
阅读时间1 分钟最后更新于 19 天前
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.