This addons provides several class to generate haptic and audio feedbacks.
- Audio feedback
- Supported topologies
This class defines the common parameters of the sounds played in the application : - name - audio clip - volume - pitch - spatial blend - loop - audio mixer
SoundManager can be added to a scene in order to centralize all sounds that are played in the application thanks to the public
It provides several methods to play a sound selected by its name.
AudioSource should be added the
SoundManager in order to play the sounds if no audio source parameter is provided.
Feedback manages the audio and haptic feedbacks for
NetworkGrabbable objects. The scene must have a
It provides methods to :
- start/pause/stop playing audio feedback,
- start playing audio and haptic feeback in the same time
If the audio source is not defined or not find on the object,
Fade Audio Source
FadeAudioSource is a utility class to increase an
audiosource volume from a starting point to a target volume within a given period of time.
A demo scene can be found in
The scene contains a very simple drum with two pads and two drumsticks. Also, a
SoundManager is located under the
ConnectionManager game object.
Each drum stick has the
DrumStick class is responsible for controlling which object has been touched with the drumstick and for playing haptic and audio feedback through the
If the object is a drum pad, then it asks the
Drum to play the associated sound.
This addon latest version is included into the addon project
- shared mode
- Version 1.0.2: Namespace modification
- Version 1.0.1: Add demo scene + add namespace
- Version 1.0.0: First release