Click or drag to resize
PlaySoundOnClickBehaviour Class
Plays the specified sound effect whenever this game object is clicked.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.SoundPlaySoundOnClickBehaviour

Namespace: Slash.Unity.Common.Sound
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class PlaySoundOnClickBehaviour : MonoBehaviour

The PlaySoundOnClickBehaviour type exposes the following members.

Constructors
  NameDescription
Public methodPlaySoundOnClickBehaviour
Initializes a new instance of the PlaySoundOnClickBehaviour class
Top
Fields
  NameDescription
Public fieldClip
Sound effect to play.
Public fieldVolume
Volume to play the sound effect with.
Top
See Also