Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove DisabledComponent<C> in favor of DisabledComponents #748

Merged
merged 4 commits into from
Dec 31, 2024

Conversation

cBournhonesque
Copy link
Owner

Previously, a user could prevent a component from getting replicated by manually adding component DisabledComponent<C> to an entity.

The approach was fine but a user could not express something like "disable all components except this one".

The DisabledComponent component has been replaced with a DisabledComponents component that the user can use to specify which components to enable/disable.

Fixes #360

@cBournhonesque cBournhonesque merged commit b3ba4cb into main Dec 31, 2024
1 of 3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a more expressive way to replicate only a subset of components of an entity
1 participant