I have set up a menu using the AC menu system and want to create a draggable page as per the tutorial:
https://adventurecreator.org/tutorials/scrolling-through-documents
Is there any way to constrain the drag axis to vertical drag only?
At the moment you can drag the page outside of the boundary, but I would like to lock the x-axis so it can only be dragged up and down.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If the width of the drag boundary is no wider than the width of the drag element, then it shouldn't allow horizontal dragging.
It is easier, however, to rely on Unity UI for this - see the recommendation on using a ScrollRect component at the top of the tutorial.