Esempio n. 1
0
 //sets audio for material
 public void SetAudioForMaterial(string material_)
 {
     //go through the database and find the correct material and then set the audioRange to the list of psz states
     for (int counter = 0; counter < audioDatabase.GetDatabaseLength(); counter++)
     {
         if (audioDatabase.GetMaterialName(counter) == material_)
         {
             audioRange = audioDatabase.GetAudioRangeList(counter);
             break;
         }
     }
 }