16 lines
271 B
GDScript
16 lines
271 B
GDScript
extends NinePatchRect
|
|
|
|
class_name MenuDefaultButton
|
|
|
|
@export var Clickable : BaseButton
|
|
|
|
@onready var PlayerShip = get_tree().current_scene.get_node("MainShip")
|
|
|
|
func _ready():
|
|
Clickable.button_up.connect(_button_up)
|
|
|
|
func _button_up():
|
|
action()
|
|
|
|
func action():
|
|
pass
|