Home > Software design >  Scrolling does not work in Unity, it does not react at all
Scrolling does not work in Unity, it does not react at all

Time:09-22

Such a problem, scrolling from the word does not work at all. That is, he does not scroll through the list, tried various tutorials from YouTube, read the documentation and even watched the official lessons and something does not scroll out. If you need screenshots or something like that, I can provide them to any image exchange.

enter image description here

enter image description here2

enter image description here3

CodePudding user response:

I am not sure of your exact setup but will provide a generic setup for a Vertical scroll. If you need help implementing it to your specific UI, I can tweak or add additional information to the answer.

Firstly, here is a setup of my hierarchy: Example Hierarchy

To understand why I have everything setup, I'll break down each object and the components attached, the anchoring, coloring, etc.

Panel_Mask

The outermost part of your scroll should be a Example 2

Later in the gif I showed the scene view to display how the Mask component is working as I scroll up and down the list. Let me know if you have any questions.

  • Related