I am working on a GUI button and I would like to make it so that each of my 6 buttons has a image for them that can be edited in the inspector, I would also like to leave it with text in the buttons. Currently I have the buttons set up with the text but I a unsure how to go about seting up exposed textures for each button and applying it to the button while keeping the text also. Here is the Code I have so far.
asked Nov 02 '12 at 02:17 PM
Using the serialize field parameter you can expose variables to the inspector (another way is to just make the variable public)
answered Nov 02 '12 at 03:05 PM