Author Topic: Don't want to autoscale my UISprite on different mobile resolutions  (Read 1675 times)

parag.patil

  • Guest
Hi All,
I am doing a UI where in
- My UIRoot scaling style is : FixedSize.
- I want a specific screen's sprite to be pixel perfect i.e. 300x300 on all devices.

Due to my scaling style property this is also getting scaled up/down depending on device resolution.

Can anyone help me in NOT SCALING the sprite on any device?
« Last Edit: August 28, 2013, 05:34:40 AM by parag.patil »

missingno

  • Guest
Re: Don't want to autoscale my UISprite on different mobile resolutions
« Reply #1 on: August 28, 2013, 08:03:17 AM »
- My UIRoot scaling style is : FixedSize.
- I want a specific screen's sprite to be pixel perfect i.e. 300x300 on all devices.

Set UIRoot to Pixel Perfect ?

parag.patil

  • Guest
Re: Don't want to autoscale my UISprite on different mobile resolutions
« Reply #2 on: August 28, 2013, 08:43:22 AM »
Resolved it by script.
played with screen height and uiroot's manual height ratio
And then applied it to the local scale of sprite