12 lines
173 B
GDScript
12 lines
173 B
GDScript
extends Button
|
|
|
|
class_name MenuAction
|
|
|
|
func _init():
|
|
get_tree().create_timer(0.05).timeout.connect(_ready)
|
|
|
|
func _ready():
|
|
button_up.connect(action)
|
|
|
|
func action():
|
|
pass
|