![]() | SoundInterfaceBehaviour Class |
Namespace: Slash.Unity.Common.Sound
The SoundInterfaceBehaviour type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoundInterfaceBehaviour | Initializes a new instance of the SoundInterfaceBehaviour class |
Name | Description | |
---|---|---|
![]() | ClearAudioChannel |
Stops the clip being played at the specified channel, if any.
|
![]() | PlayAudioClip(AudioChannelType, AudioClip) |
Plays the specified clip, if it's not already playing.
|
![]() | PlayAudioClip(AudioChannelType, AudioClip, Single) |
Plays the specified clip, if it's not already playing.
|
![]() | PlayAudioClip(AudioChannelType, AudioClip, Single, Boolean) |
Plays the specified clip, if it's not already playing.
|
![]() | PlayAudioClip(AudioChannelType, AudioClip, Single, Boolean, Single) |
Fades to the specified clip, if it's not already playing.
|
![]() | PlayAudioClipWithIntroAndLoop |
Fades to the specified intro clip, if it's not already playing,
playing it one time, and loops the passed loop after.
|
![]() | PlaySoundEffect(AudioClip) |
Plays the specified sound effect once.
|
![]() | PlaySoundEffect(AudioClip, Single) |
Plays the specified sound effect once with the passed volume.
|
![]() | PlaySoundEffect(AudioClip, Single, Boolean) |
Plays the specified sound effect with the passed volume.
|
![]() | StopSoundEffect |
Stops the specified looping sound effect.
|
Name | Description | |
---|---|---|
![]() | SoundEffectSourcePrefab |
Prefab for creating audio sources for sound effects.
|