Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

component Hooks #98

Merged
merged 7 commits into from
Aug 11, 2024
Merged

component Hooks #98

merged 7 commits into from
Aug 11, 2024

Conversation

DunnoConz
Copy link
Contributor

@DunnoConz DunnoConz commented Aug 10, 2024

Edit by Marcus:
I think this is non-obvious, it makes sense for us to allow people to create hooks to listen to types of changes to components. It utilizes existing constructs such as traits and is self contained enough to merit inclusion even if people can make signals themselves. As manually firing signals at each callpoint is very tedious and creating listeners for such.

src/init.luau Outdated Show resolved Hide resolved
@Ukendio Ukendio changed the title ECS Hooks component Hooks Aug 11, 2024
@Ukendio Ukendio merged commit 71569bb into Ukendio:main Aug 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants