AudioManager - Maxodie/BattriKeepel2 GitHub Wiki
SoundInstance CreateSoundInstance(bool playOnAwake, bool loop);
void DestroySoundInstance(SoundInstance instance);
You need to first, create a SoundInstance and then use SoundInstance.Play(), You need to destroy the instance after using it
AudioClip clip;
// Instance creation
SoundInstance hitSoundInstance = AudioManager.CreateSoundInstance(false, false);
hitSoundInstnace.Play(clip);
// Instance destruction
AudioManager.DestroySoundInstance(hitSoundInstance);
From the SoundInstance you can use different functions like Stop``Pause``Resume