mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
added the game
This commit is contained in:
10
Scripts/UI/SelectableLabel.gd
Normal file
10
Scripts/UI/SelectableLabel.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Label
|
||||
|
||||
signal pressed
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if Input.is_action_just_pressed("ui_accept"):
|
||||
pressed.emit()
|
||||
|
||||
func toggle_process(enabled := false) -> void:
|
||||
set_process(enabled)
|
Reference in New Issue
Block a user