As an example, you can install the “TypeWriter Sounds” package found inside the “Extra” folder and check its implementation.
Source
: main audio source where sounds will be played.MinSoundDelay
: minimum time that has to pass before playing another sound.Interrupt Previous Sound
: If true, the previous audio will be stopped.Random Sequence
: If true, the next audio clip to play will be chosen randomly from the “Sounds” array. If false, sounds will be played subsequently.Sounds
: Typewriter sounds to play.