Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question delayed positioning of gameobjects while scrolling on android

Discussion in 'UGUI & TextMesh Pro' started by Mike01923, Aug 17, 2022.

  1. Mike01923

    Mike01923

    Joined:
    Jun 19, 2015
    Posts:
    199
    I want an animated gameobject to be displayed above each button in a scroller. I get the position of the button with screentoworldpoints, then update the position of the animated gameobject in the OnGUI method. In the editor, the objects all move in-sync with the buttons while scrolling, but on android there is small delay. Is there some sort of difference with OnGUI on android or am I doing this whole thing wrong?