Z
Z
Zimaell2020-12-17 18:40:22
Unity
Zimaell, 2020-12-17 18:40:22

How to compress a certain part of an image?

I have a button-picture, the corners are rounded, I need to reduce it in length, if you completely edit the length of the button, then it will be flattened, it is necessary that when changing the length, only the central part is adjusted, and the side parts are not deformed ...
Somewhere, once I went through this and I know that somehow it is possible, but I forgot how... tell me how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-12-17
@Zimaell

On the sprite, mark the lines along which the demarcation will be. In the Image component, select the slice mode.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question