trying simpler self made menus to fix selection and focus issues on build
This commit is contained in:
4
systems/ui/grab_focus.gd
Normal file
4
systems/ui/grab_focus.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
extends Control
|
||||
|
||||
func _ready() -> void:
|
||||
grab_focus()
|
||||
1
systems/ui/grab_focus.gd.uid
Normal file
1
systems/ui/grab_focus.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://brrt2uj47cmld
|
||||
6
systems/ui/new_main_menu.gd
Normal file
6
systems/ui/new_main_menu.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Control
|
||||
|
||||
@export_file("*.tscn") var game_scene_path : String
|
||||
|
||||
func on_new_game() -> void:
|
||||
SceneLoader.load_scene(game_scene_path)
|
||||
1
systems/ui/new_main_menu.gd.uid
Normal file
1
systems/ui/new_main_menu.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ckywnolvqy6w1
|
||||
Reference in New Issue
Block a user