Click or drag to resize
SoundInterfaceBehaviourPlayAudioClipWithIntroAndLoop Method
Fades to the specified intro clip, if it's not already playing, playing it one time, and loops the passed loop after.

Namespace: Slash.Unity.Common.Sound
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public void PlayAudioClipWithIntroAndLoop(
	AudioChannelType channelType,
	AudioClip introClip,
	AudioClip loopClip,
	float volume
)

Parameters

channelType
Type: Slash.Unity.Common.SoundAudioChannelType
Channel to play the clip at.
introClip
Type: AudioClip
Clip to play once.
loopClip
Type: AudioClip
Clip to loop after.
volume
Type: SystemSingle
Volume to play the clip at.
See Also