- Home /
Is there a way to zoom GUI and scene at the same time?
Hi, guys:
As the title says, is there a way to zoom GUI objects and the rest of objects in scene keeping the scale between them? Or should i calculate using FOV (camera is ortographic) and gui scaling? In that case zooming to or from a relative point may be a pain. Do you figure out something? TY in advance.
I´ve seen this problem posted in other questions, like this one: http://answers.unity3d.com/questions/15252/zoom-out-in-orthographic-view.html
Still no solution yet
If you want to scale your GUI components (for instance when your app is running on mobile phones and GUI objects are hard to read) you can do it by using $$anonymous$$atrix4x4. I actually found a way to scale fonts proportionally too.
Now that only applies to GUI. So if you want to scale the gameobjects you can use Field of View of the Camera, or in my case (ortographic camera) you can change Size.
But i cant find a way to scale (or zoom) both content keeping the proportions, or keeping rate, if you understand.
Your answer
Follow this Question
Related Questions
Need help with 2D orthographic camera zooming 2 Answers
How to do perspective camera zoom? 1 Answer
Unity2D - Camera in exported game is zoomed out compared to unity game preview HELP PLEASE! 2 Answers
flickering lines when zooming fov (both GUI and ortho cameras). 2 Answers
Accurate Pinch Zoom 1 Answer