Here's basically what the JS looks like;
then later in Start()...
Then in inspector I always see this...
Element 0 None(Audio Clip)
Element 1 Fireball_01
Element 2 Roar_01
Element 3 Snarl_01
Element 4 Stomp_01
Element 5 Sword_01
bizarre... Anyways thanks for your help in advance.
I've tried the same thing, but it worked for me. I had problems initially because my sound files were in the wrong folder, so all elements of sound became empty - but I had no error messages. When I finnally put the files in the right folder, it worked for all elements of the array. Could the first file name of your list be misspelled, or in a folder other than Resources?
answered Jun 07 '11 at 02:36 AM