help…
if(Input.GetMouseButtonDown(0))
Call AudioSource.Play on a valid AudioSource which has an AudioClip set up.
using UnityEngine;
public class PlaySoundOnMouseClick : MonoBehaviour
{
public AudioSource sound;
void Update()
{
if (Input.GetMouseButtonDown(0))
sound.Play();
}
}