Unity Discussions
how to scale an object to fit the camera view
Archived Forums
Questions & Answers
legacy-topics
CreeperT11
July 7, 2021, 12:15pm
1
183143-apiduhasjdouhaius-gd.png
827×479 274 KB
i’m trying to do invisible walls, i want the walls to be scaled with the ascept ratio of the phone.
183142-unity-engine-ui.png
852×492 259 KB
zolteeeen
July 7, 2021, 1:14pm
2
Use Anchors:
https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/UIBasicLayout.html
Related topics
Topic
Replies
Views
Activity
How to autoscale the game view like UI ??
Unity Engine
Scripting
1
959
July 21, 2021
Unity UI is not the same in different resolutions (Explained better)
Questions & Answers
legacy-topics
2
2406
November 29, 2017
How to fit UI to screen size?
Unity Engine
Question
2
1616
October 26, 2021
Display problem on mobile device
Unity Engine
2D
4
878
December 1, 2021
Unity Android UI scaling problem
Questions & Answers
legacy-topics
2
2057
January 29, 2015