| SoundInterfaceBehaviourPlayAudioClip Method (AudioChannelType, AudioClip, Single) |
Plays the specified clip, if it's not already playing.
Namespace: Slash.Unity.Common.SoundAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax public void PlayAudioClip(
AudioChannelType channelType,
AudioClip clip,
float volume
)
Public Sub PlayAudioClip (
channelType As AudioChannelType,
clip As AudioClip,
volume As Single
)
public:
void PlayAudioClip(
AudioChannelType channelType,
AudioClip^ clip,
float volume
)
member PlayAudioClip :
channelType : AudioChannelType *
clip : AudioClip *
volume : float32 -> unit
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.
See Also