Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CustomSoundStyle() [1/2]

Terraria.Audio.CustomSoundStyle.CustomSoundStyle ( SoundEffect soundEffect,
SoundType type = SoundType::Sound,
float volume = 1f,
float pitchVariance = 0f )
inline

Definition at line 14 of file CustomSoundStyle.cs.

15 : base(volume, pitchVariance, type)
16 {
17 _soundEffects = new SoundEffect[1] { soundEffect };
18 }
readonly SoundEffect[] _soundEffects

References Terraria.Audio.CustomSoundStyle._soundEffects.