miggor-StreamGraph/classes/deck/nodes/button.gd
2023-06-24 06:39:50 +03:00

13 lines
173 B
GDScript

###type=button
extends DeckNode
func _init() -> void:
add_output_port(
Deck.Types.BOOL,
"Press me",
"button"
)
name = "Button"
node_type = name.to_snake_case()