unity3d - Initialize array of AudioSource c# unity -


how can initialize array of audiosource script , how can add value array of audiosource? i'm using unity3d , c# lang

please help...

you can try resources.loadall function believe. function loads resources directory if remember correctly. more information here doc page function

http://docs.unity3d.com/scriptreference/resources.loadall.html


Comments