Contents

components

All the components that an entity stores.

Declaration

@MainActor @preconcurrency var components: Entity.ComponentSet { get set }

Discussion

You can only store one component of a given type on an entity.

See Also

Managing components