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

Event Binding Execution Order Issue causing Race Condition #41

Open
igaln opened this issue Oct 15, 2020 · 0 comments
Open

Event Binding Execution Order Issue causing Race Condition #41

igaln opened this issue Oct 15, 2020 · 0 comments

Comments

@igaln
Copy link

igaln commented Oct 15, 2020

I have a slider in which I catch, BeginDrag and EndDrag events.

When I bind them in the inspector Using Unity Event Bindings, events are called in order as expected.
BeginDrag when drag started, EndDrag when mouse is up and dragging is Done.
image

However when I bind those events to Weld on the same components, thus 2 Event Binders,
BeginDrag Event bubbles up after EndDrag is invoked.
image

I wondering if anyone else seen similar issues with binding, or using 2 EventBinders is a problem on the same component.

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

No branches or pull requests

1 participant