47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://1o3idp54lil2"]
|
|
|
|
[ext_resource type="Script" uid="uid://beiydi6w6gqqc" path="res://game/menu/ingame/weapon_selector.gd" id="1_4acia"]
|
|
[ext_resource type="Theme" uid="uid://dtnd3tqllufey" path="res://images/menu/menu_button.tres" id="2_g83h6"]
|
|
|
|
[node name="WeaponSelector" type="MarginContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
script = ExtResource("1_4acia")
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme = ExtResource("2_g83h6")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="NameLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme = ExtResource("2_g83h6")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="DescriptionLabel" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(160, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 8
|
|
horizontal_alignment = 1
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|