| SoundInterfaceBehaviourPlaySoundEffect Method (AudioClip) |
Plays the specified sound effect once.
Namespace: Slash.Unity.Common.SoundAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax public AudioSource PlaySoundEffect(
AudioClip clip
)
Public Function PlaySoundEffect (
clip As AudioClip
) As AudioSource
public:
AudioSource^ PlaySoundEffect(
AudioClip^ clip
)
member PlaySoundEffect :
clip : AudioClip -> AudioSource
Parameters
- clip
- Type: AudioClip
Sound effect clip to play.
Return Value
Type:
AudioSourceAudio source playing the specified clip.
See Also