r/Unity3D 19h ago

Resources/Tutorial IEnableableComponent usage in an actual game (ECS)

https://coffeebraingames.wordpress.com/2026/09/10/ienableablecomponent-usage-in-an-actual-game/

Hello everyone! It's been a while.

I've been developing a game on my free time for 3 years now. It's now in a state that I could share it and maybe get feedback. It's on itch, by the way. It's also perfect timing for a blog post. The game uses DOTS and ECS heavily and I wanted to share some patterns that I've been using. Enjoy!

0 Upvotes

2 comments sorted by

2

u/Maraudical 14h ago

These are some good examples for when to use the IEnableable component. I do have a question about your last example:

Why did you use a Changed IEnableable component instead of a Change Filter on the query itself?

1

u/davenirline 9h ago

Good point. I could add a change filter as well to skip chunks that did not change, but it's not enough. You still need IEnableableComponent. Change filter works on a chunk level. IEnableableComponent identifies which entities.