how to change image in unity
Unity 4.6 UI - change image's source image via script. Hi, I have buttons for levels, that have an image component. I set the image using the editor to the default level unlocked image. Now in the script, I am looping through all the levels, and for each, I read a playerprefs string associated with that level to determine if it was unlocked.