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

Unique attribute for Any* events #1037

Open
slimshader opened this issue Oct 3, 2022 · 0 comments
Open

Unique attribute for Any* events #1037

slimshader opened this issue Oct 3, 2022 · 0 comments
Labels

Comments

@slimshader
Copy link

Hi,

shouldn't [Unique] attribute be applied to the component generated for Event.Any target? This way one can do:

_game.AddAnyPositionListener(this);

which also prevents adding listeners multiple times to multiple entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: New
Development

No branches or pull requests

1 participant