Hello Guest

Author Topic: Sprite stretch to fullscreen  (Read 3378 times)

DarkSlash

  • Newbie
  • *
  • Posts: 19
    • View Profile
Sprite stretch to fullscreen
« on: April 12, 2015, 02:26:17 pm »
In the new Unity GUI I can set a layout that adapts to the device screen (and, so, the images, buttons, etc inside). There's a way to do same thing with 2DToolkit? I need a background to fill the whole screen.

Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite stretch to fullscreen
« Reply #1 on: April 12, 2015, 11:32:53 pm »
Hi there isn't (there is, but it needs to be done in code, check the UI samples).
But, you can create a second camera that just sees the background and have a different override on it to just scale the background sprite the way you need it to.