๐Ÿ“(ECS) Cross-system communication via event entities

tags

Entity Component System (ECS)

One of the approaches to cross-system communication in Entity Component System (ECS) is creating event entities. When something happens, a system may spawn an event entity into the world and other systems may detect and react to it.

Depending on the nature of communication, event entities can be collected:

Pros

Cons

Backlinks