Instance Property

components

All the components stored on the entity.

Declaration

var components: Entity.ComponentSet { get set }

Discussion

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

See Also

Adding Components

struct Entity.ComponentSet

A set of stored components.