Example #1
0
 void Start()
 {
     //fade in and start playing music
     SoundManagerScript.AddTracks(2, gameObject);
     SoundManagerScript.TrackSettings(0, mainMix, "Music", 0.5f, true);
     //SoundManagerScript.PlayMusic(0, Ambientes[0]);
     //si quisiera tener random , de otra lista:
     //SoundManagerScript.PlayMusic(1,null,listAudioClip,0,4);
     //   SoundManagerScript.PlayMusic(gameObject, Ambientes[0]);
 }