- Home /
Scroll Rect draging delay
I'm working in an mobile project and i need to use the scroll rect to show a list. (Quite obvious, i guess?)
The problem is: I feel like there's a huge delay between starting the movement with the finger and unity understanding that the player wants so drag(scroll) the list .
I really think this has something to do with IInitializePotentialDragHandler
but i don't know what to do with it.
If i change the Time.Scale
to 2
the game gets faster and the delay pass faster as well but, it kind of kills some fps.. I really don't want to do that since i'm making it for mobile but if i can't find any other answer i'll have no options so...
Please, master of water, fire, earth and Unity. Help me ;-;
There should be no issue with Scroll Rect, the delay is probably due to bad performances. What is your test device ? What's the contents of your list ? Is there any element in your list that implements drag and could interfere with your Scroll Rect component ?
Try to make a build with a single test scene containing a Scroll Rect and a list of dummy objects, see if the problem persists. Then do the same with an empty scene containing the actual list that's in the game, etc. Investigate step by step and try to understand which element is causing the delay.
As i'm developing with a group of friends we're using a Nexus 5, Samsung Galaxy s5 and an $$anonymous$$oto x Gen.2 . And in all of them the same results.
For the tests just text but the game will have this texts and buttons.
Not that i know about.
The pure build , and the almost pure build are the same. Unity's scroll is quite weird. I mean try comparing it to a normal scroll in your android (like your app list) , you'll see that the android one is way better.(it's the same for apps made with android studio) I wanted it to be as smooth and fast as that.
Thanks for the fast answer/ sorry for the slow reply.
Your answer
Follow this Question
Related Questions
Mobile Game starts lagging after a while when playing on my phone!!!! Pls Help!!! 1 Answer
Lens flare mobile framerate drop 0 Answers
Game goes stuck on Android Phone? 0 Answers
Best Mobile replacement for Legacy Shader/Self-Illumin/Diffuse 0 Answers
Is Draw Call the main factor to consider for mobile optimizations? 1 Answer