Esempio n. 1
0
 public void Load()
 {
     foreach (var bankRef in Banks)
     {
         try {
             RuntimeManager.LoadBank(bankRef, PreloadSamples);
         } catch (BankLoadException e) {
             UnityEngine.Debug.LogException(e);
         }
     }
     RuntimeManager.WaitForAllLoads();
 }
 public void Load()
 {
     foreach (string bank in Banks)
     {
         try
         {
             RuntimeManager.LoadBank(bank, PreloadSamples);
         }
         catch (BankLoadException exception)
         {
             UnityEngine.Debug.LogException(exception);
         }
     }
     RuntimeManager.WaitForAllLoads();
 }