Hello I am trying to play an audio clip from a GUI button. The button already plays an animation when pressed. How do I script it to also play the sound. This is the code for my GUI button. Thanks.
function OnGUI () {
if (GUI.Button (Rect (10,130,70,20), "BLUE")) {
animation.Play("car2");
}
}