public static void StopTheme(bool fade = false, float duration = 0, float delay = 0) =>
 AudioController.StopAudio(Instance.themes[Instance.currentTheme], fade, duration, delay);
Beispiel #2
0
 [UsedImplicitly] public void PlayAudio(int index) => AudioController.PlayAudio
     (useProfile ? profile.track.audio[index].type : track.audio[index].type);
 private void PlayTheme(bool fade = false, float fadeLength = 0) =>
 AudioController.PlayAudio(themes[currentTheme], fade, fadeLength);