Quick Question Quick Answer Javascript Related

function OnMouseEnter() { //change the color of text renderer.material.color = Color.green;

audio.Play(Beep);

This is my menu script I have a .wav file called Beep so what i want is that when you put the mouse over a menu option it makes a beep. for some reason when i load i get Unknown Identifier: 'Beep'

How can I identify it correctly?

Side Note: I have not studied javascript until ive gotten unity and im really noob the more noob friendly your answer is the better

Try here: http://unity3d.com/support/documentation/ScriptReference/AudioSource.PlayOneShot.html

This will help you.

Have you defined 'Beep' in your script?