18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://Components/ClickableComponent.gd" type="Script" id=1]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=1]
|
||
|
radius = 31.4006
|
||
|
|
||
|
[node name="Clickable" type="Node2D"]
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Area2D" type="Area2D" parent="."]
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[connection signal="mouse_entered" from="Area2D" to="." method="_on_Area2D_mouse_entered"]
|
||
|
[connection signal="mouse_exited" from="Area2D" to="." method="_on_Area2D_mouse_exited"]
|