17 lines
384 B
GDScript
17 lines
384 B
GDScript
extends BaseButton
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
button_down.connect(down)
|
|
print("button")
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|
|
|
|
func down() -> void:
|
|
print("clikced!!")
|
|
SoundManager.play_sfx("click")
|