This contains the source code documentation of the class DialogicNode_ButtonSound
.
DialogicNode_ButtonSound
Inherits: AudioStreamPlayer
Node that is used for playing sound effects on hover/focus/press of sibling DialogicNode_ChoiceButtons.
Properties
Name | Type | Default |
---|---|---|
sound_focus | AudioStream | |
sound_hover | AudioStream | |
sound_pressed | AudioStream |
Methods
Returns | Method |
---|---|
void | play_sound ( sound : Variant ) |
Property Descriptions
Sound to be played on focus. See for more.
Sound to be played on hover. See for more.
Sound to be played if one of the sibling ChoiceButtons is pressed. If sibling ChoiceButton has a sound_pressed set, that is prioritized.
Method Descriptions
func play_sound ( sound
: Variant ) ⇒ void
No description available.