-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with Infinite Scroll Rect #395
Comments
On 2022.01.14 04:01, Dylan Daniels commented: |
On 2022.01.17 11:54, @SimonDarksideJ commented: Can you provide an example scene just using the UI Extension and Unity controls to test out your combination on please? |
On 2022.01.17 21:26 Dylan Daniels modified issue: |
On 2022.01.17 21:26, Dylan Daniels commented: As for what modifications I've done, I'm checking the constraintCount on the gridlayout group and when deciding anchored position I am doing this:
which seems to work, but only if the contents of the gridlayout are an even size. (any gaps in the grid seem to mess it up.) The other task is preventing the contents from leaving the screen. (preventing any sort of scrolling.) I have tried simply moving it back once it’s released but then it messes up the “infinite” illusion of the scroll rect. EDIT: I’ve had a look at it after work and it seems to only work correctly if the number of items is perfectly divisable by the gridcolumns. |
Issue created by Dylan Daniels as Bitbucket Issue #395 on 2022.01.14 03:52.
Hey! First of all I want to say great job with this project. I have downloaded and am using the infinite scroll rect script on a gridlayout group. It does work, but I want the first objects in the layout group to move to the back when they are off screen and vice versa. The problem is changing any of the values makes them flicker, and still not have the desired effect. I know it’s nothing major, but I would really appreicate any advice you guys could give me to achieve what I want :slight_smile:
The text was updated successfully, but these errors were encountered: