How do I show pictures by my button?

What I want to do is when my mouse is on one of my buttons I want a small pic to show up next to it…I tried doing this, but im not sure why its not working. Please explain how to make the code and how it works?

function Update ()
{

}

function OnMouseDown()
{
showPicture = true;
}

Srry, im a begginer…Also if anyone can recomend any books on C# and javascript game programming please tell me.

Try this link:

The results give example code so you can how the function/method is used.

You can also check out http://cgcookie.com/unity/getting-started-with-unity/
It’s a good starting point to get a sense of how things work together.