Skip to Main Content

BTD_Mod_Helper​.Extensions​.AudioClipExtensions


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

AudioClipExtensions Class

Extensions for unity audio clips

public static class AudioClipExtensions

Inheritance System.Object  AudioClipExtensions

Methods

AudioClipExtensions.Play(this AudioClip, string, float) Method

Plays a sound through the default Game AudioFactory

public static void Play(this AudioClip audioClip, string groupId="FX", float volume=1f);

Parameters

audioClip UnityEngine.AudioClip

The audio audioClip to play

groupId System.String

TODO group stuff

volume System.Single

How loud it should be

To learn how to download BTD Mod Helper and install mods, click here