Search Unity

How To Resize Sprite GameObjects To Fit Different Resolutions?

Discussion in '2D' started by Dogg, Aug 19, 2014.

  1. Dogg

    Dogg

    Joined:
    Mar 5, 2014
    Posts:
    203
    I want to resize some sprite gameobjects of mine, but I'm not sure how to do it. By resize I mean resize according to the game's screen resolution. So right now I can see my sprite perfectly fine on a iPhone 5 Wide (16:9), but if I go any smaller my sprite get's cut off. So how can I resize my sprites or move them to fit according to the screen size? Please help if you have the time.

    By the way, the sprite gameobjects are simply empty gameobjects with sprite renderers on them.
     
  2. Punchbag

    Punchbag

    Joined:
    Oct 30, 2012
    Posts:
    48
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    Also here's many tips for sprites (including working with different viewport sizes)