A downloadable Unity Script

Download NowName your own price

A single script, static audio utility for Unity that makes playing sound effects from anywhere in your code simple. Automatically manages and recycles AudioSources using an internal pooling system.

Usage

Play an audio clip with a single line:

AudioSpawner.Play(audioClip);

A parameterized overload lets you customize playback. See the method signatures in AudioSpawner.cs for available options.

The Play methods return the AudioSource used for playback, allowing you to access it when needed. AudioSources are automatically recycled after playback finishes.

License

1. Permitted Use

You may use, modify, and incorporate this software into personal and commercial projects, including games distributed for free or sold commercially.

2. Restrictions

You may not:

  • Resell, sublicense, or redistribute this software, in whole or in part, as a standalone product or development tool.
  • Share, publish, or distribute the original source code or modified versions of the software as a standalone library or asset.
  • Include this software in a competing product intended primarily to provide the same or substantially similar functionality.
Updated 3 days ago
Published 5 days ago
StatusReleased
CategoryTool
AuthorMagic Hat Games
TagsAudio, No AI, script, Unity
ContentNo generative AI was used

Download

Download NowName your own price

Click download now to get access to the following files:

AudioSpawner.zip 2.7 kB

Leave a comment

Log in with itch.io to leave a comment.