Esempio n. 1
0
 /// <summary>
 /// Fades in audio file.
 /// </summary>
 void FadeIn(AudioSource music, float duration)
 {
     music.FadeIn(music.clip, duration, () => {Debug.Log("Done Fading In");});
 }