DoopelPonger
|
Abstract class used to play sound effects. More...
Public Member Functions | |
abstract void | PlayClip (float volume) |
Select a sound effect to play. More... | |
Protected Member Functions | |
PlayOnceAudio | InstantiatePlayOnceAudio (PlayOnceAudio prefab) |
Abstract class used to play sound effects.
There are several different types of ways to play sound effects, playing similar sounds randomly from a list, changing the pitch of a single sound, etc. Any way to play sound effects should implement this class.
|
protected |
|
pure virtual |
Select a sound effect to play.
volume | Volume to play a sound effect. Will always be between 0 and 1. |
Implemented in PitchShiftAudioSelector, and RandomClipAudioSelector.