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_pressed | AudioStream | |
sound_hover | AudioStream | |
sound_focus | AudioStream |
Methods
Returns | Method |
---|---|
void | play_sound ( sound : Variant ) |
Property Descriptions
Sound to be played if one of the sibling ChoiceButtons is pressed. If sibling ChoiceButton has a sound_pressed set, that is prioritized.
Sound to be played on hover. See for more.
Sound to be played on focus. See for more.
Method Descriptions
func play_sound ( sound
: Variant ) ⇒ void
No description available.