godot-third-person-basic-scene/scenes/languages/languages.tscn

50 lines
1.6 KiB
Text
Raw Permalink Normal View History

2022-06-15 20:53:34 +00:00
[gd_scene load_steps=3 format=3 uid="uid://dpvequp5fv27k"]
2022-02-12 19:45:44 +00:00
[ext_resource type="Script" path="res://scenes/languages/languages.gd" id="1_qc7c5"]
2022-06-26 13:20:42 +00:00
[ext_resource type="PackedScene" uid="uid://otvln5ol34bj" path="res://scenes/languages/languages2.tscn" id="2_plade"]
2022-02-12 19:45:44 +00:00
[node name="Control" type="Control"]
script = ExtResource( "1_qc7c5" )
2022-06-26 13:20:42 +00:00
[node name="WindowOld" type="Window" parent="."]
2022-02-12 19:45:44 +00:00
title = "Language"
2022-06-15 20:53:34 +00:00
position = Vector2i(50, 100)
size = Vector2i(300, 150)
2022-02-12 19:45:44 +00:00
visible = false
2022-06-26 13:20:42 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="WindowOld"]
2022-02-12 19:45:44 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
metadata/_edit_use_custom_anchors = false
2022-02-12 19:45:44 +00:00
2022-06-26 13:20:42 +00:00
[node name="Label" type="Label" parent="WindowOld/VBoxContainer"]
2022-06-15 20:53:34 +00:00
offset_right = 1024.0
offset_bottom = 26.0
2022-02-12 19:45:44 +00:00
text = "Select language"
2022-06-26 13:20:42 +00:00
[node name="Select" type="OptionButton" parent="WindowOld/VBoxContainer"]
2022-06-15 20:53:34 +00:00
offset_top = 30.0
offset_right = 1024.0
offset_bottom = 565.0
size_flags_vertical = 3
metadata/_edit_use_custom_anchors = false
2022-02-12 19:45:44 +00:00
2022-06-26 13:20:42 +00:00
[node name="Quit" type="Button" parent="WindowOld/VBoxContainer"]
2022-06-15 20:53:34 +00:00
offset_left = 491.0
offset_top = 569.0
offset_right = 533.0
offset_bottom = 600.0
size_flags_horizontal = 4
size_flags_vertical = 8
text = "Quit"
2022-06-26 13:20:42 +00:00
[node name="Window" parent="." instance=ExtResource( "2_plade" )]
2022-02-12 19:45:44 +00:00
2022-06-26 13:20:42 +00:00
[connection signal="close_requested" from="WindowOld" to="." method="_on_quit_pressed"]
[connection signal="item_selected" from="WindowOld/VBoxContainer/Select" to="." method="_on_select_item_selected"]
[connection signal="pressed" from="WindowOld/VBoxContainer/Quit" to="." method="_on_quit_pressed"]