mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 07:20:07 +01:00
41 lines
844 B
Plaintext
41 lines
844 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://thread.gd" type="Script" id=1]
|
|
|
|
[node name="node" type="Node2D" index="0"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="load" type="Button" parent="." index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 192.0
|
|
margin_top = 32.0
|
|
margin_right = 320.0
|
|
margin_bottom = 64.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "Load in Thread"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="sprite" type="Sprite" parent="." index="1"]
|
|
|
|
position = Vector2( 248, 256 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[connection signal="pressed" from="load" to="." method="_on_load_pressed"]
|
|
|
|
|