Search Unity

Referencing AudioClips without using inspector?

Discussion in 'Editor & General Support' started by Mr-Oliv, Oct 4, 2013.

  1. Mr-Oliv

    Mr-Oliv

    Joined:
    Sep 14, 2012
    Posts:
    33
    I'm building an iOS game that has tons of audio clips in it. Hundreds. I play them as "Stream from disc".
    Do I really have to drag them all over to the Inspector? Is there no way to create references to the AudioClips from code? I'd rather not want to use Resources.Load or some other function that actually loads the clips, I just want to create an array that references them.
     
    Last edited: Oct 4, 2013