Search Unity

Scale every game object according to screen size.

Discussion in '2D' started by tinycarnival, Nov 18, 2019.

  1. tinycarnival

    tinycarnival

    Joined:
    May 9, 2018
    Posts:
    5
    I am creating a 2d game and wanted it to support different aspect ratios. The only easy way I could think about it, is by placing all of my game elements under a canvas. But I have read from the manual that Canvas is generally used for UI. What would be the correct way to do this if I wanted my gameobjects to scale with screen size ( not ui )
     
  2. AdnanSayyed

    AdnanSayyed

    Joined:
    Jul 1, 2018
    Posts:
    3
    I am also waiting for good solution by using sprites
     
  3. blu3drag0n

    blu3drag0n

    Joined:
    Nov 9, 2018
    Posts:
    94
    What are your camera settings? You can control it with the camera in easy ways, but depends on your case.
     
  4. ArunkumarB

    ArunkumarB

    Joined:
    Aug 7, 2019
    Posts:
    1
    I'm also facing the same issue. Any help would be of much help. How can we control it with the camera settings?