Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to use sliced image with different height?

Discussion in 'UGUI & TextMesh Pro' started by checnev, Sep 27, 2023.

  1. checnev


    Jul 9, 2018
    I have sprite for button (170x180) and I set borders at sprite editor.
    sprite editor.jpg

    But image too big for my ui:
    defaul size.jpg

    i want reduce size, when i change height at Rect Transform, the image is distorted.
    target size.jpg

    How can i use sliced image for different size and without distorting?