- Home /
Is it possible to add a behavior of Scroll Rect and Horizontal Layout Group components to non-UI object?
I need to make a container on the screen that can be scrolled with a swipe on mobile devices, and which contains elements with Transform
in it ( RectTransform
is not suitable for certain reasons). At the same time, such elements should be evenly distributed in the parent container.
Therefore, I need container behavior with Scroll Rect
and Horizontal Layout Group
components, but which works with Transform
components.
Is it possible to do this in Unity?
Your answer
Follow this Question
Related Questions
How to covert a rectTransform scale to world scale? 1 Answer
How to change the Top and Bottom (rect.yMin and yMax) properties of a rectTransform, in a script? 2 Answers
Get position of specific letter in UI Text 4 Answers
What is the difference between Transform and Recttransform 2 Answers
UI How to configure Left And Right. 1 Answer