41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://cubfkr2mkgxjc"]
|
|
|
|
[ext_resource type="Script" uid="uid://dac0bvlhho7u4" path="res://scripts/DebugZombieSpawner.cs" id="1_m367a"]
|
|
|
|
[node name="DebugZombieSpawner" type="PopupPanel" node_paths=PackedStringArray("label", "line", "spin")]
|
|
initial_position = 1
|
|
size = Vector2i(200, 100)
|
|
visible = true
|
|
script = ExtResource("1_m367a")
|
|
label = NodePath("Vbox/Similars")
|
|
line = NodePath("Vbox/Line/LineEdit")
|
|
spin = NodePath("Vbox/Line/SpinBox")
|
|
|
|
[node name="Vbox" type="VBoxContainer" parent="."]
|
|
offset_left = 4.0
|
|
offset_top = 4.0
|
|
offset_right = 196.0
|
|
offset_bottom = 96.0
|
|
|
|
[node name="Line" type="HBoxContainer" parent="Vbox"]
|
|
layout_mode = 2
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="Vbox/Line"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_next = NodePath("../SpinBox")
|
|
max_length = 16
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="Vbox/Line"]
|
|
layout_mode = 2
|
|
min_value = 1.0
|
|
max_value = 50.0
|
|
value = 1.0
|
|
|
|
[node name="Similars" type="Label" parent="Vbox"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[connection signal="popup_hide" from="." to="." method="OnPopupHide"]
|
|
[connection signal="text_changed" from="Vbox/Line/LineEdit" to="." method="OnTextChanged"]
|
|
[connection signal="text_submitted" from="Vbox/Line/LineEdit" to="." method="OnTextSubmitted"]
|