mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Added navigation to main menu options
This commit is contained in:
parent
f7037fa043
commit
316880cf9d
6 changed files with 54 additions and 8 deletions
|
|
@ -16,10 +16,15 @@ public partial class DebugMenu : MenuBase
|
|||
|
||||
[Export]
|
||||
public Container ButtonsContainer { get; private set; }
|
||||
|
||||
[Export]
|
||||
public Button DefaultSelectedButton { get; private set; }
|
||||
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
public override void _Ready()
|
||||
{
|
||||
DefaultSelectedButton.GrabFocus();
|
||||
|
||||
foreach (var level in Levels.Maps)
|
||||
{
|
||||
if (!level.Enabled) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue