public void PlayUISound(AudioFiles.UISoundClip sound)
 {
     if (uiSoundLookup == null)
     {
         CreateLookups();
     }
     if (!uiSoundLookup.ContainsKey(sound))
     {
         Debug.LogError("No Sound Found in Sound Lookup");
         return;
     }
     tempSoundObj = uiSoundLookup[sound];
     tempSoundObj.PlaySound();
 }
Exemple #2
0
 public void PlaySound(AudioFiles.UISoundClip clip)
 {
     _BaseSoundController.PlayUISound(clip);
 }