P
P
Pythonchik32020-05-12 14:51:58
C++ / C#
Pythonchik3, 2020-05-12 14:51:58

How to fix UI Unity?

Hello. I am a beginner unity programmer. There was a problem while creating the game - I have an image and text (UI), they fixed the problem and it's bad. Is it possible to bind to the screen size? For example, the image height is 1/10 of the screen height, and the indent is 1/50? Or it is necessary to write a script for rescaling? And if you write a script, can you give an example? What to do with text?
I will be grateful for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mopsicus, 2020-05-12
@Pythonchik3

Read about Canvas and anchors (anchors) and understand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question