An open API service indexing awesome lists of open source software.

https://github.com/insthync/unity-audio-manager

A simple audio manager
https://github.com/insthync/unity-audio-manager

Last synced: about 1 year ago
JSON representation

A simple audio manager

Awesome Lists containing this project

README

          

# unity-audio-manager

This project can helps to manage audio settings to save them in PlayerPrefs, Can manage Master volume, BGM, SFX, Ambient or another kind of volume as you wish

## How to use

- Add `AudioManager` component to any empty game object in first scene
- To add volume slider, add `AudioSlider` to ui game object then set kind of setting (Master Volume or BGM or SFX ...)
- To add volume turn on/off toggle, add `AudioToggle` to ui game object then set kind of setting (Master Volume or BGM or SFX ...)
- Then add `AudioSourceSetter` to any audio source and set play mode to `PlayClipAtAudioSource` to apply volume setting to this audio source while play a game
- Or add `AudioSourceSetter` with `PlayClipAtPoint` play mode to play audio at specific point (transform position) with volume setting while play a game