In Eclipse we could use .9 scale for scalling screen for Android screens. Is there a way to do it in unity, especially for 2D?
Apr 19 '12 at 03:00 PM
Apr 19 '12 at 12:04 PM
Could you elaborate your question and goal with this a little more?
Well, I'm sorry if my question is not clear. I'm trying to make a simple shooting game with unity, and I make the 2D menu with NGUI. I want this game to work well in Android, whatever the phone is, but Android have many types of screen so I have to adjust the menu according to the screen. One of the ways to do it in Eclipse is with 0.9 scale. But I don't know how to do it in unity. I try to find the way through Google, but I can't find anything suitable, so I hope maybe there are someone who know about it?
I think he is asking about scaling the GUI components of GUI graphics in Unity. My own understanding is that the GUI components are based on pixel sizes and don't have automatic scaling capabilities. i.e. coordinates are from 0,0 - top left to Screen.width, Screen.height at the bottom right. Any scaling you want to do has to be done in your own code.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Apr 19 '12 at 03:00 PM
Seen: 583 times
Last Updated: Apr 19 '12 at 08:18 PM
[Android] Screen Scaling?!
How to retain absolute gameobject size in pixels no matter the resolution?
Need help really Quick
Interactively Scaling a 2D Texture
How should I size a plane to put images on?
Android GUI resize problem
GUI - Scale GUIs According to Resolution
Best way to sacale entire object in runtime??
how to scale an object in order to fix the screen dimensions
GUI adapting to screen resolution?