- Home /
how to add image to a button and link it to a another scene
when i am setting the image of the button(UI) with this given image(as attachment with the question) the image is getting cropped .......and it's been only 2 days of my using unity so plz tell me how to link two scenes with a button(on-click)
untitled.png
(338.3 kB)
untitled2.png
(284.4 kB)
Comment
Answer by Piyush_Pandey · May 02, 2017 at 11:54 AM
Click on the "Set native size" button in the Image component and reset its position in the "Rect transform" to (0,0,0). Now manipulate the width and height according to your need.
Your answer
Follow this Question
Related Questions
Changing Button Image On Click (Javascript) 0 Answers
Change sprite images on button click 0 Answers
Buttons not working properly. 0 Answers
swap images using 2 buttons(next, previous) 0 Answers
UI button in Panel not clickable 2 Answers