Answer the question
In order to leave comments, you need to log in
Scrolling a UI Scroll View when one of its child components is clicked?
Hello.
The crux of the matter is this, I'm working on a 2D game using UI components. I have a Scroll View component, there are images in it, the problem is that in order to scroll this scroll, the player needs to click in the scroll area or in the area where there are no objects (Images). On the images weighs Event Trigger - Pointer Click.
The question itself is: how to make this scroll scroll if the player starts the drag by clicking on the object with Event Trigger - Pointer Click?
Answer the question
In order to leave comments, you need to log in
Why are you using an EventTrigger instead of a Button? The documentation says that EventTrigger absorbs all events in general, so scrolling does not work for you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question