move file dialog to unloaded scene
This commit is contained in:
parent
8b1fe0a9be
commit
b2c9bbf9a2
4 changed files with 22 additions and 23 deletions
|
|
@ -1,8 +1,16 @@
|
|||
[gd_scene format=3 uid="uid://b71wpb1vts86r"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b71wpb1vts86r"]
|
||||
|
||||
[ext_resource type="Script" path="res://unloaded.gd" id="1_ibvef"]
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer"]
|
||||
script = ExtResource("1_ibvef")
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(200, 200)
|
||||
layout_mode = 2
|
||||
text = "Load database"
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="."]
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="file_selected" from="FileDialog" to="." method="_on_file_dialog_file_selected"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue