 | 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.SoundAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxpublic void PlayAudioClipWithIntroAndLoop(
AudioChannelType channelType,
AudioClip introClip,
AudioClip loopClip,
float volume
)
Public Sub PlayAudioClipWithIntroAndLoop (
channelType As AudioChannelType,
introClip As AudioClip,
loopClip As AudioClip,
volume As Single
)
public:
void PlayAudioClipWithIntroAndLoop(
AudioChannelType channelType,
AudioClip^ introClip,
AudioClip^ loopClip,
float volume
)
member PlayAudioClipWithIntroAndLoop :
channelType : AudioChannelType *
introClip : AudioClip *
loopClip : AudioClip *
volume : float32 -> unit
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