This document is about: FUSION 1
SWITCH TO

This page is a work in progress and could be pending updates.

Feedback


Available in the Industries Circle
Circle
Fusion Industries prototyping Addons

This addons provides several class to generate haptic and audio feedbacks.

Audio feedback

Sound

This class defines the common parameters of the sounds played in the application : - name - audio clip - volume - pitch - spatial blend - loop - audio mixer

SoundManager

SoundManager can be added to a scene in order to centralize all sounds that are played in the application thanks to the public sounds list. It provides several methods to play a sound selected by its name. An AudioSource should be added the SoundManager in order to play the sounds if no audio source parameter is provided.

Feedback

Feedback manages the audio and haptic feedbacks for NetworkGrabbable objects. The scene must have a SoundManager. 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, Feedback uses the SoundManager audio source.

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.

Demo

A demo scene can be found in Assets\Photon\FusionAddons\Feedback\Demo\Scenes\ folder.

fusion industries feedback

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 Feedback and DrumStick components. DrumStick class is responsible for controlling which object has been touched with the drumstick and for playing haptic and audio feedback through the Feedback class. If the object is a drum pad, then it asks the Drum to play the associated sound.

Download

This addon latest version is included into the addon project

Supported topologies

  • shared mode

Changelog

  • Version 1.0.2: Namespace modification
  • Version 1.0.1: Add demo scene + add namespace
  • Version 1.0.0: First release
Back to top