|
DoopelPonger
|
Selects a random sound effect from the predefined list and plays it. More...


Public Member Functions | |
| override void | PlayClip (float volume) |
| Plays a random clip at thhe specified volume. More... | |
Public Attributes | |
| PlayOnceAudio [] | playOnceAudio |
Additional Inherited Members | |
Protected Member Functions inherited from AudioSelector | |
| PlayOnceAudio | InstantiatePlayOnceAudio (PlayOnceAudio prefab) |
Selects a random sound effect from the predefined list and plays it.
If the sound effect already has several variations, then they will be picked at random.
|
virtual |
Plays a random clip at thhe specified volume.
| volume | Volume to set the clip at. |
Implements AudioSelector.
| PlayOnceAudio [] RandomClipAudioSelector.playOnceAudio |
A list of sound effects to choose from when playing a sound.
1.8.14