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
  3. Dismiss Notice

Question Compatibility of the game on different screen sizes

Discussion in 'UGUI & TextMesh Pro' started by Swoncier, Apr 16, 2024.

  1. Swoncier


    May 27, 2023
    Hi everyone! I'm developing a Mobile 2D game in Unity but i have a big problem and question.
    It can synchronize gameobjects such as text and buttons in the canvas according to the screen size. But it can't synchronize gameobjects that are not in the canvas. How does everyone sync their game between different devices? Do they use code to fix gaps on screen edges, scale game objects to the screen, and other things like that? If they don't use it, how do they do it?
  2. pertholdth


    Feb 28, 2024
    usually ppl accept that the game will show more of the screen on mobile, theres not much to do except prepare for the camera to display extra space on the sides / or to cut them a lot if its on portrait view