Skip to content

Audio Integration

NicoWalheim edited this page Jan 29, 2022 · 2 revisions

Audio configuration

All Sounds have Unity's spatial sound feature on, so that the audio feedback may help spatial awareness of object placements.

Sounds for certain Events

First are Sounds that are supposed to be played after an Event triggered. Those can be set under the AudioManager component, which is on the Manager game object. One may set the curve to the volume drop off one believes to be appropriate and then change audio clip, volume, pitch and max distance for different Events. On every event appearance, the manager now spawns an invisible game object at the events location, plays the audio and then gets deleted again.

Sounds on Buttons or similar purposes

Every game object that is supposed to have sound needs to have the Sound Player Script. This allows for setting an audio clip, volume, pitch and max distance for each instance of it. Current prefabs already have it applied, so values can be changed in the component.

Search

ViaProMa now contains a search feature, which allows the user to ping objects in the scene, so that the user may find it with help of the spatial feature of the sounds. Singletons can be searched for by clicking the button on the menu, while object like an issue card can be searched for by their title in a search bar which auto completes to existing issues.

Clone this wiki locally