Click or drag to resize
SoundInterfaceBehaviour Methods

The SoundInterfaceBehaviour type exposes the following members.

Methods
  NameDescription
Public methodClearAudioChannel
Stops the clip being played at the specified channel, if any.
Public methodPlayAudioClip(AudioChannelType, AudioClip)
Plays the specified clip, if it's not already playing.
Public methodPlayAudioClip(AudioChannelType, AudioClip, Single)
Plays the specified clip, if it's not already playing.
Public methodPlayAudioClip(AudioChannelType, AudioClip, Single, Boolean)
Plays the specified clip, if it's not already playing.
Public methodPlayAudioClip(AudioChannelType, AudioClip, Single, Boolean, Single)
Fades to the specified clip, if it's not already playing.
Public methodPlayAudioClipWithIntroAndLoop
Fades to the specified intro clip, if it's not already playing, playing it one time, and loops the passed loop after.
Public methodPlaySoundEffect(AudioClip)
Plays the specified sound effect once.
Public methodPlaySoundEffect(AudioClip, Single)
Plays the specified sound effect once with the passed volume.
Public methodPlaySoundEffect(AudioClip, Single, Boolean)
Plays the specified sound effect with the passed volume.
Public methodStopSoundEffect
Stops the specified looping sound effect.
Top
See Also