godot-third-person-basic-scene/scenes/controls/select_type_control.tscn

52 lines
1.8 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://bhidap7eniou8"]
[ext_resource type="Script" path="res://scenes/controls/select_type_control.gd" id="1_7tgwh"]
[ext_resource type="PackedScene" uid="uid://cvmel2sx7qfvy" path="res://scenes/controls/option_define_input.tscn" id="2_44t37"]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( "1_7tgwh" )
[node name="Window" type="Window" parent="."]
title = "CONTROL_SELECT_TYPE/TITLE"
position = Vector2i(30, 70)
size = Vector2i(300, 100)
visible = false
[node name="VBoxContainer" type="VBoxContainer" parent="Window"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Key" type="Button" parent="Window/VBoxContainer"]
offset_right = 1024.0
offset_bottom = 31.0
text = "CONTROL_SELECT_TYPE/KEY"
[node name="Mouse" type="Button" parent="Window/VBoxContainer"]
offset_top = 41.0
offset_right = 1024.0
offset_bottom = 72.0
text = "CONTROL_SELECT_TYPE/MOUSE"
[node name="Joypad" type="Button" parent="Window/VBoxContainer"]
offset_top = 82.0
offset_right = 1024.0
offset_bottom = 113.0
text = "CONTROL_SELECT_TYPE/JOYPAD"
[node name="Quit" type="Button" parent="Window/VBoxContainer"]
offset_top = 123.0
offset_right = 1024.0
offset_bottom = 154.0
text = "CONTROL_SELECT_TYPE/QUIT"
[node name="DefineInput" parent="." instance=ExtResource( "2_44t37" )]
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="Window/VBoxContainer/Key" to="." method="_on_key_pressed"]
[connection signal="pressed" from="Window/VBoxContainer/Mouse" to="." method="_on_mouse_pressed"]
[connection signal="pressed" from="Window/VBoxContainer/Joypad" to="." method="_on_joypad_pressed"]
[connection signal="pressed" from="Window/VBoxContainer/Quit" to="." method="_on_quit_pressed"]