Cannot Set Imported Images as Toggle/Button Graphic
I have some images that I am going to use for my toggles and buttons. I have imported the images into Unity and set the Texture Type to "Sprite (2D and UI)". They are all PNG files. When I go to my buttons and try to set the Target Graphic I get the Select Graphic window but my imported files are not there. I cannot drag them into the field either.
How do you import an image and use it as the graphic for a button? I have Googled this but none of the answers work for me.
I think you're trying to change the wrong thing. You probably want to change the "Source Image" on the Image component of your button. The Target Graphic is a reference to the button's Image component.
Your answer
Follow this Question
Related Questions
Reference UI button in Script 1 Answer
How to importing Image when game is running (Run Time) ? 1 Answer
Sketchy looking buttons in android 0 Answers
Change Sprite/Image of Button by clicking another buttons 0 Answers
[HELP] Two buttons (1 and 2), if 2 is pressed after 1, Button 2 image changes. 0 Answers