https://github.com/sgaumin/audioexpress
Lightweight Unity Utility to quickly setup and play audio
https://github.com/sgaumin/audioexpress
audio csharp extension game-development tools unity unity-editor
Last synced: 11 months ago
JSON representation
Lightweight Unity Utility to quickly setup and play audio
- Host: GitHub
- URL: https://github.com/sgaumin/audioexpress
- Owner: sgaumin
- License: mit
- Created: 2022-10-09T10:25:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T14:20:03.000Z (over 1 year ago)
- Last Synced: 2025-04-01T21:12:44.444Z (about 1 year ago)
- Topics: audio, csharp, extension, game-development, tools, unity, unity-editor
- Language: C#
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# AudioExpress
[](https://unity3d.com/get-unity/download)
[](https://github.com/sgaumin/AudioExpress/blob/main/LICENSE.md)
Unity library to setup and play 2D sound in a more convenient way: no need to attach a AudioSource component, all is managed in the background.
## Installation
Simply import this package with Unity Package Manager by using the url *https://github.com/sgaumin/AudioExpress.git*
## System Requirements
Unity **2018.4** or later versions. Don't forget to include the AudioExpress namespace.
## Overview
### Inspector
From the inspector, we can assign audio clip and edit parameters

If you follow the hierarchy Assets/Sounds/Audio Mixer.mixer, mixer group will be automatically attached as well. Just make sure that the audio clip and the mixer group share the same name.

### Scene View
In the scene, Audio Units are automatically created and rearranged under an object called AudioParent

### Code Example
```csharp
using AudioExpress
public class PlayerController : MonoBehaviour
{
[Header("Audio")]
[SerializeField] private AudioConfig movementSound;
public void Move()
{
movementSound.Play();
}
}
```
## License
[MIT License](https://github.com/sgaumin/AudioExpress/blob/main/LICENSE.md)