You are viewing a potentially older version of this package.
View all versions.
PlasmaSoundAPI
A library for playing AudioClips in Plasma
| Date uploaded | 2 years ago |
| Version | 1.0.1 |
| Download link | Azim-PlasmaSoundAPI-1.0.1.zip |
| Downloads | 452 |
| Dependency string | Azim-PlasmaSoundAPI-1.0.1 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
PlasmaSoundAPI
A library for playing AudioClips in Plasma
Usage
EventInstance PlasmaSoundAPI.PlaySound2D(AudioClip audioclip) - play 2D sound
EventInstance PlasmaSoundAPI.PlaySound3D(AudioClip audioclip, Vector3 position) - play 3D sound at given position
Complete example using both of the above methods to play sound from console command.
Dont forget to add
[BepInDependency("Azim.PlasmaSoundAPI", BepInDependency.DependencyFlags.HardDependency)]
annotation to your mod to ensure that the library is loaded before your mod.
Releases
1.0.1
- Renamed assembly file and namespace to fix import issues
- Fixed sound banks not loading
1.0.0
- Initial release