1234567891011121314151617181920212223 |
- [gd_scene load_steps=4 format=3 uid="uid://hhi4klksmnov"]
- [ext_resource type="Script" path="res://button/button.gd" id="1_4bo1c"]
- [ext_resource type="Texture2D" uid="uid://dv08u4k42e12f" path="res://icon.svg" id="1_h2lk7"]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_nfq76"]
- size = Vector2(64, 64)
- [node name="button" type="Area2D" groups=["buttons"]]
- scale = Vector2(0.8, 0.8)
- collision_mask = 7
- script = ExtResource("1_4bo1c")
- [node name="Sprite2D" type="Sprite2D" parent="."]
- scale = Vector2(0.5, 0.5)
- texture = ExtResource("1_h2lk7")
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- shape = SubResource("RectangleShape2D_nfq76")
- [connection signal="body_entered" from="." to="." method="_on_body_entered"]
- [connection signal="body_exited" from="." to="." method="_on_body_exited"]
|