Advertisement

How to increase the width of a sprite.

Started by May 17, 2020 09:33 AM
3 comments, last by vaibhav3 4 years, 5 months ago

I am a beginner, learning, and trying to build my dream game using unity.

I bought a GUI pack from the unity asset store.
I am trying to build a UI like below.

upload_2020-5-17_14-9-48.png

This should be on canvas. Now, what I have done.

upload_2020-5-17_14-10-53.png

Do you see my problem? I am using a bg png sprite. Which is not taking the correct width.

Can anyone help me in this, what should I do.

Thanks in advance.

None

Since this is not a Game Design question, this question has been moved to a more appropriate forum.

-- Tom Sloper -- sloperama.com

Advertisement

You can either take the PNG or whatever image you have an change it in Photopshop, GIMP, or whatever program you use. Or you can select the image which is a child of your Canvas and change the size in the inspector or through code.

Programmer and 3D Artist

@undefined Thanks, i used inkscape to create new sprites. I think the sprites i bought are worthy and not correct.

None

This topic is closed to new replies.

Advertisement