AudioClip sound =new AudioClip;
how to set the array size and how to fill the elements with the sounds
how to fill the elements with sounds in this audioclip plz help me
AudioClip sound =new AudioClip;
how to set the array size and how to fill the elements with the sounds
how to fill the elements with sounds in this audioclip plz help me
Use the Inspector: set the size, then assign clips from object(s) which contain them
Use code:
sound = new AudioClip[10];
sound[0] = new AudioClip(); // etc.