godot-shooter / asteroids / files / utils / Popup.tscn
Branch asteroids · default branch · all branches
Popup.tscn
| 1 | [gd_scene load_steps=2 format=2] |
| 2 | |
| 3 | [ext_resource path="res://utils/Popup.gd" type="Script" id=1] |
| 4 | |
| 5 | [node name="Popup" type="Control"] |
| 6 | margin_right = 40.0 |
| 7 | margin_bottom = 40.0 |
| 8 | script = ExtResource( 1 ) |
| 9 | |
| 10 | [node name="PopupDialog" type="PopupDialog" parent="."] |
| 11 | visible = true |
| 12 | margin_right = 324.0 |
| 13 | margin_bottom = 179.0 |
| 14 | |
| 15 | [node name="Label" type="Label" parent="PopupDialog"] |
| 16 | anchor_top = 0.5 |
| 17 | anchor_right = 1.0 |
| 18 | anchor_bottom = 0.5 |
| 19 | margin_top = -7.0 |
| 20 | margin_bottom = 7.0 |
| 21 | text = "HI" |
| 22 | |
| 23 | [node name="Button" type="Button" parent="PopupDialog"] |
| 24 | anchor_left = 0.5 |
| 25 | anchor_top = 1.0 |
| 26 | anchor_right = 0.5 |
| 27 | anchor_bottom = 1.0 |
| 28 | margin_left = -23.5 |
| 29 | margin_top = -20.0 |
| 30 | margin_right = 23.5 |
| 31 | text = "Close" |
| 32 | |
| 33 | [connection signal="pressed" from="PopupDialog/Button" to="." method="_on_Button_pressed"] |