Skip to content

taransin/audio-controller-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sound Controller for Unity3D

This is a sound controller. The main idea of this plugin is to not use raw AudioSource, but have a nice wrapper around it from which you can easily control what sounds at what time you want to play. The reason I made this plugin is that I don't really want to pay money for Audiotoolkit from unity asset store, and I didn't really liked it when I had the chance to use it.

Main Features:

  • Organize sounds by categories
  • Add multiple variants of the same sound and easily play at random.
  • Change Audioclips, edit category names, and sound names from play mode without the fear of losing those changes
  • All data is saved on a scriptable object asset
  • You can create multiple data assets and swap them easily
  • Create whole cues of sounds with ease (very useful when you have dialog Voice Over)
  • It's not a singleton!!!

How to add it to your project and scene:

  1. Extract the latest .unitypackage file found in releases (link here: https://github.com/dimixar/audio-controller-unity/releases/tag/0.0.1);
  2. Create new SoundControllerData asset using the contextual menu from Project hierarchy;
  3. Find the prefab with SoundController in OSSC folder and drag it onto the scene;
  4. Add your new created asset into the corresponding object field of the SoundContoller component;
  5. Select gameobject with SoundController and start adding categories and items.

How to use it:

  • Check the example Scene for that.

About

Simple Sound Controller implementation in Unity.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%