

A library for playing AudioClips in Plasma
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.