(wip) settings menu almost works, just need to attach it to the button...

This commit is contained in:
2026-03-07 14:34:24 +01:00
parent 3c7e1a612d
commit a59255d9d6
3 changed files with 32 additions and 12 deletions

View File

@@ -1,5 +1,7 @@
[gd_scene format=3 uid="uid://drgv154ei1vrl"]
[ext_resource type="PackedScene" uid="uid://px6a2dg8cawb" path="res://addons/modular-settings-menu/scenes/settings.tscn" id="1_06t4h"]
[sub_resource type="GDScript" id="GDScript_rhts7"]
script/source = "extends Control
@@ -50,3 +52,14 @@ text = "The Main Menu"
label_settings = SubResource("LabelSettings_rhts7")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Settings" parent="." unique_id=112964493 node_paths=PackedStringArray("MenuPanelRef") instance=ExtResource("1_06t4h")]
layout_mode = 1
MenuPanelRef = NodePath("../SettingsWheelButton")
[node name="SettingsWheelButton" type="Button" parent="." unique_id=2147291321]
layout_mode = 0
offset_left = 898.0
offset_top = 46.0
offset_right = 954.0
offset_bottom = 93.0