nimo
New Member
Posts: 1
|
Post by nimo on Feb 27, 2024 8:41:56 GMT
imgur.com/a/RSRRa0Vhi, i'm recreating this game scroll rect by using mostly demo 04 jumptodemo to jump at the collected item cellview. All works fine until i notice this feature in the video above. When you're found all objects of that item, it got moved to the last position of the scroll and the others cellview smoothly moving up. Is there a way to replicate this feature ?(with and even without the smooth tweening)
|
|
|
Post by echo17 on Feb 27, 2024 10:06:49 GMT
Not really, at least not without some coding on your part. Moving cells around isn't currently supported with EnhancedScroller. It is a data-driven solution where the structure reflects the current model (data).
One way I could suggest if you want to code this yourself is to have a cell item that hovers above the scroller. You could then move it around wherever you want to, then hide it when you are done moving. You'd call reload on the scroller when the movement is completed to show the new location. There are probably other ways to accomplish this, that was just the first that came to me.
|
|