Files
godot-demo-projects/loading/threads/thread.tscn

58 lines
1.3 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cf1eb7iconsr2"]
[ext_resource type="Script" uid="uid://3sjiwyb4fiuo" path="res://thread.gd" id="1"]
[node name="Thread" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="Load" type="Button" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -115.0
offset_top = -227.5
offset_right = 115.0
offset_bottom = -172.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 2
size_flags_vertical = 2
theme_override_font_sizes/font_size = 24
text = "Load in Thread"
[node name="ColorRect" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -115.5
offset_top = -164.5
offset_right = 115.5
offset_bottom = 164.5
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
stretch_mode = 5
[connection signal="pressed" from="Load" to="." method="_on_load_pressed"]