Audio Clip in Audio Source via script C#

Hi, i would like to add an sound to Audio Source when starting playing but I don’t know how. I know how to play sound but I would like to have my audioClip attached via script into Audio Source.

audio.clip = yourAudioClip;

Thanks, that was almost that, I just modyfied that a little.

    public AudioClip otherClip;
    IEnumerator Start()
    		audio.clip = otherClip;
    		audio.Play ();
    		yield return new WaitForSeconds(audio.clip.length);

As you said main line is audio.clip = myAudioClip

Main problem was I had Audio Source component on wrong object and nothing could change that audio clip :smiley: