- Home /
Change position and scale of objects according to mobile screen size
Hi there! How can I change position of objects according to mobile screen size. For example I have 4 spawn objects. All is OK for target resolution. But when I choose device with bigger screen, the spawn objects stay in their positions. How can I handle it? I mean rescale and update positions of spawn object depending on screen size? See AttachmentOne, please. I think it's possible to get width, calculate position and change position manually in Awake, but maybe there is some best practice or ready solution. Thank you in advance!
Your answer
Follow this Question
Related Questions
UI RectTransform Position && Screen Resolution 2 Answers
Coincide Input.mousePosition with UI element position to be on same coordinate system 0 Answers
Scaling a menu bar 1 Answer
Set Rect Transform Screen Position 0 Answers
Interface relative scaling 0 Answers