Added keyboard control to main menu. Reworked logic
This commit is contained in:
@@ -3,5 +3,9 @@ extends Node
|
||||
signal show_main_menu
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
$%MainMenuButton.grab_focus()
|
||||
|
||||
|
||||
func _on_main_menu_button_pressed() -> void:
|
||||
show_main_menu.emit()
|
||||
|
||||
Reference in New Issue
Block a user