Click or drag to resize
SoundInterfaceBehaviourPlayAudioClip Method (AudioChannelType, AudioClip, Single, Boolean)
Plays the specified clip, if it's not already playing.

Namespace: Slash.Unity.Common.Sound
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public void PlayAudioClip(
	AudioChannelType channelType,
	AudioClip clip,
	float volume,
	bool loop
)

Parameters

channelType
Type: Slash.Unity.Common.SoundAudioChannelType
Channel to play the clip at.
clip
Type: AudioClip
Music clip to play.
volume
Type: SystemSingle
Volume to play the clip at.
loop
Type: SystemBoolean
Whether to loop the clip or play one-shot.
See Also