Click or drag to resize
SoundInterfaceBehaviourPlaySoundEffect Method (AudioClip, Single)
Plays the specified sound effect once with the passed volume.

Namespace: Slash.Unity.Common.Sound
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public AudioSource PlaySoundEffect(
	AudioClip clip,
	float volume
)

Parameters

clip
Type: AudioClip
Sound effect clip to play.
volume
Type: SystemSingle
Volume to play the sound with.

Return Value

Type: AudioSource
Audio source playing the specified clip.
See Also