D
D
Dmitry Makarov2021-09-03 18:48:31
Unity
Dmitry Makarov, 2021-09-03 18:48:31

How to make adaptability in unity so that elements change with a simple stretch/narrow?

My first question on this site. So I apologize if I am somehow not informatively conveying an idea.
Actually, it's faster to explain with a picture. It is necessary to make sure that all elements adjust to the screen size, as if the size is simply changed in the same paint or photoshop. By the way, the photograph against the background just behaves as it should. By the way, I need this method for the interface made in the style of cabinet elements.
What I want with a picture:
613240bfd291d553072905.png

What do I need to do for this? I tried cancas scaler, but nothing good came of it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Makarov, 2021-09-10
@VinerX

I will briefly answer, in case it is useful to someone.
For the element, put down this setting, and put anchors right along its edges. And not the edges of the entire screen.
613ba0503c1cb069489200.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question