23 lines
518 B
Plaintext
23 lines
518 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://Button.gd" type="Script" id=1]
|
|
|
|
[node name="Button" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = -924.0
|
|
margin_bottom = -500.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
margin_right = 100.0
|
|
margin_bottom = 100.0
|
|
text = "Collect button"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="button_down" from="Button" to="." method="_on_button_down"]
|