Files
godot-demo-projects/loading/threads/thread.tscn
2022-12-13 16:51:04 +01:00

37 lines
822 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://df1dmjx4ny0gd"]
[ext_resource type="Script" 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 = -1
anchor_left = 0.4
anchor_top = 0.15
anchor_right = 0.6
anchor_bottom = 0.2
size_flags_horizontal = 2
size_flags_vertical = 2
text = "Load in Thread"
[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"]