EasyEcs
API reference

IComponent

Marks a struct as component data. The IComponent interface of EasyEcs, the C# ECS: its members, parameters and complexity.

public interface IComponent

Marks a struct as component data. Components are plain data stored in archetype tables, one column per type and one row per entity; keep them small (ideally a few fields, well under a 64-byte cache line) and split rarely-used data into separate components so iteration only loads what it touches.

Edit on GitHub

Last updated on

How is this guide?