I need to play an audio when i click on the specific gameobject.

when I use this code it will play audio if i click anywhere of the screen.

void Update () {
if (Input.GetKeyDown (KeyCode.Space) || Input.GetMouseButton (0)) {

		audio.Play ();
	}

@a_i_noman

please refer this