Unity-Weld icon indicating copy to clipboard operation
Unity-Weld copied to clipboard

Event Binding Execution Order Issue causing Race Condition

Open igaln opened this issue 3 years ago • 0 comments

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.

igaln avatar Oct 15 '20 12:10 igaln