simple issue just need an expert/experienced advise AUDIO playback

hi all. apologies i’m very very novice so here it goes. i’ve scoured the net for a simple way to just play audio or even reference it. i have an mp3 file called “victory” that i need to play inside an if statement:

if (itemscorrect == 8){}

that’s it. i just cant get any information on how i can reference victory.mp3 once this condition is met.

please help. thanks again


ok I need further guidance. here’s what I have

void update() {

		if (GameLogic.ItemsCorrect == 8)


		AudioSource audio = GetComponent<AudioSource>();

			audio.Play (44100);



I even tried it on void start but the music plays even if the condition is not met. any tips?