Esempio n. 1
0
 private void setupAudioController(TWAudioLibrary library, TWAudioSourceLibrary audioSources, GameObject audioParent)
 {
     instance.audioSources = audioSources;
     instance.audioSources.Init();
     instance.audioLibrary = library;
     instance.audioParent  = audioParent;
 }
Esempio n. 2
0
 public static void SetupAudioLibrary([NotNull] TWAudioLibrary library, TWAudioSourceLibrary audioSources, GameObject audioParent)
 {
     // Only support 2 channel for fading
     Instance?.setupAudioController(library, audioSources, audioParent);
     Instance?.SetTimeFade();
 }