In full screen or in the bigger resolution than in Unity scaled UI looks quite strange.
Can I disable UI scaling?
We only scale if you have configured the UI to scale… so yes you can disable it by not using scaling in your content.
Or in other words: scaling on the UI layout only happens if you scale the anchor.
Keeping the anchor (the “power flower” ) snapped together will prevent any scaling from happening, as I understand.
When I use Render Mode Screen Space - Overlay, all is ok. However, I need to use Render Mode World Space.
Did you try it?
The difference between Screenspace and WorldSpace is just whether the whole canvas is rendered on top of the 2D space or if it’s sitting in the 3D world.
http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-canvas
I must use World Space or Screen Space - Camera render mode.
Yes, I tried use every render mode, but everything is working only when I use Screen Space - Camera or World Space (then unfortunately in fullscreen, the screen looks like it was stretched).
Can you make a gif or a short movie showing what the problem is, I still don’t quite understand what you are seeing.
I would like to scaling UI as Screen Space - Overlay, when I use Screen Space - Camera or World Space.
Film made using the example project for Unity 4.6 UI.
I have the opposite question. How do you enable scaling?
Ok, so how do I make to the GUI isn’t scaling? Can you help?
PS. Sorry for my English, and for my shorts answers. It’s not my mother tounge and I’m still learning. I’m from Poland.
Hi Mateix,
So you are seeing this behaviour because of how the scene is constructed (it was done like this on purpose). If you move the camera outside the canvas hierarchy it will behave differently.
Yes - I see the problem. Tim already answered before I had breakfast, though.
This is indeed by design. Also logical and correct behaviour.
World space means that the GUI is “hanging” in actual 3D space with coordinates and rotation and everything. Your camera remains in the same distance to the GUI canvas. So no matter how much you scale your view - nothing is changeing there except the screen resolution. The distance between GUI and camera defines how large it is shown inside your view.
Think of it like this: place your camera inside a 3D scene and place it in front of a cube object. No matter how much you are going to resize the screen - the cube will remain the same size. Just like your GUI in worldspace.
In Screenspace the GUI is stuck to the camera like a 2D Scene. Here’s the difference, though - thanks to the anchor (“power flower” - I’ll keep using that term) youcan decide if (and how much) it will behave like a 2D scene. If you keep the anchor fixed the item won’t scale. That’s the case in the given scene.
Read more on it in your Manual files that installed with the Beta (it’s not online yet it seems).
Click the blue Help book here:
Also watch these:
http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-canvas