SoundPicker

SoundPicker is an easy way to modify SoundEvents in your own scripts

SoundPicker is a serializable class for easily selecting multiple SoundEvents and modifiers. Add a serialized or public SoundPicker to a C# script and edit it in the inspector. The SoundPicker is not nestable in an array or custom class because it is built upon CustomPropertyDrawer. This is because custom serializable classes do not support inheritance and polymorphism for serialization. SoundPickers are multi-object editable.

SoundEvent The SoundEvent to play.

Modifiers Modifiers are used to control how SoundEvents are played (e.g. volume, polyphony, fade in length etc). See modifiers for more info.

Example code:

Last updated