Skip to content

Instantly share code, notes, and snippets.

@HakanL
Created September 30, 2015 23:03
Show Gist options
  • Save HakanL/06f1cb5040334adea89f to your computer and use it in GitHub Desktop.
Save HakanL/06f1cb5040334adea89f to your computer and use it in GitHub Desktop.
if (this.currentFxChannel.FmodChannel != null)
{
this.currentFxChannel.Stop();
}
var channel = this.fmodSystem.LowLevelSystem.PlaySound(sound, this.fxGroup, true);
this.currentFxChannel = channel;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment