mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
Keymapping menu
This commit is contained in:
parent
9e8c2220b2
commit
b76427e3ca
14 changed files with 137 additions and 34 deletions
27
Scenes/HUD/UiElements/KeyRemappingItem.tscn
Normal file
27
Scenes/HUD/UiElements/KeyRemappingItem.tscn
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://j5g536m85lr8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dn52llyqx84e0" path="res://Scripts/UI/KeyRemappingItem.cs" id="1_88k7i"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="2_b0qgl"]
|
||||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="3_b0qgl"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" node_paths=PackedStringArray("NameLabel", "InputLabel")]
|
||||
script = ExtResource("1_88k7i")
|
||||
NameLabel = NodePath("ActionName")
|
||||
InputLabel = NodePath("Key")
|
||||
|
||||
[node name="ActionName" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Asdf"
|
||||
label_settings = ExtResource("2_b0qgl")
|
||||
|
||||
[node name="Key" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "A"
|
||||
label_settings = ExtResource("2_b0qgl")
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_b0qgl")
|
||||
text = "Remap"
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="StartRemap"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue