Ukendio / jecs

A fast, portable Entity Component System for Luau
https://ukendio.github.io/jecs/
MIT License
121 stars 20 forks source link

Add OnDeleteTarget #102

Closed Ukendio closed 1 month ago

Ukendio commented 1 month ago

When entities that are used as tags, components, relationships or relationship targets are deleted, cleanup traits ensure that the store does not contain any dangling references. Any cleanup policy provides this guarantee and provides proper configuration into opting into different behavior.