I have a script that plays a sound on mouse click. But I have a problem here, it says:
“No appropriate version of ‘UnityEngine.AudioSource.Play’ for the argument list ‘(String)’ was found.”
Here’s the script :
function OnMouseDown ()
{
if(Input.GetMouseButtonDown(0));
audio.Play("Click");
}