I have a scrolling area setup. And the content is in a grid form with gaps between each piece of content. I cannot scroll on the gaps, only on the content itself. How do I make it so I can scroll through the gaps as well?
I think the solution is to put a full-rect raycast target behind it, such as an Image or RawImage, or even one of those “has no image but you can touch it” Components, such as this one:
Then you can remove all the RaycastTarget tickmarks in the grid chunks (or not).
So I use visual scripting, I am unsure if there is a way to switch that. But I assumed there would be a way to do it without code. But I guess I was wrong
Just put an image behind it as I described, turn the alpha to zero.
YES yes, it’s horribly inefficient and every pixel will get touched every frame.
But the point is to learn something : does this even remotely fix your problem???
If it does, you’re done.
If it doesn’t, then move on.
You gotta aggressively try combinations. There’s some best practices but mostly we’re engineering solutions here and we don’t always have the luxury of knowing they will work.
And that’s why I prefaced with “I think…” so you can tell us if it works. It’s on you now.
PS - this is why we use source control so we can try stuff and then instantly reset / revert without fear of loss of progress.
I actually did just try that after I sent that response! So thank you very much xD. I do have another topic I posted a few days ago. And I know it might be a bit rude of me to ask you to check it out and see if you can help me. But if you do get some free time. I’d really appreciate it!
Oh actually. I guess I did not post the topic! I will post it right now and see if I can get help on it lol