 | PlaySoundOnClickBehaviour Class |
Plays the specified sound effect whenever this game object is clicked.
Inheritance HierarchySystemObject Object Component Behaviour MonoBehaviour Slash.Unity.Common.SoundPlaySoundOnClickBehaviour
Namespace: Slash.Unity.Common.SoundAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxpublic class PlaySoundOnClickBehaviour : MonoBehaviour
Public Class PlaySoundOnClickBehaviour
Inherits MonoBehaviour
public ref class PlaySoundOnClickBehaviour : public MonoBehaviour
type PlaySoundOnClickBehaviour =
class
inherit MonoBehaviour
end
The PlaySoundOnClickBehaviour type exposes the following members.
Constructors
Fields
| Name | Description |
---|
 | Clip |
Sound effect to play.
|
 | Volume |
Volume to play the sound effect with.
|
Top
See Also