Возможность отключать интерактивные объекты
This commit is contained in:
parent
26db1ea66d
commit
872d650b3d
4 changed files with 29 additions and 5 deletions
|
@ -4,10 +4,11 @@
|
|||
[ext_resource type="SpriteFrames" uid="uid://bvnfvjn7am8tc" path="res://resources/sprites/key.tres" id="2_0s1fq"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_w4p6k"]
|
||||
radius = 60.0
|
||||
radius = 0.0
|
||||
|
||||
[node name="Interactable" type="Node2D"]
|
||||
script = ExtResource("1_4ni08")
|
||||
IsEnabled = true
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue