|
@@ -22,3 +22,8 @@ position = Vector2(15, 8)
|
|
|
[node name="FormeZone" type="CollisionShape2D" parent="ZoneActivation"]
|
|
|
rotation = 1.5708
|
|
|
shape = SubResource("CapsuleShape2D_58m61")
|
|
|
+
|
|
|
+[node name="VerificateurVisibilite" type="VisibleOnScreenNotifier2D" parent="."]
|
|
|
+rect = Rect2(0, 0, 30, 16)
|
|
|
+
|
|
|
+[connection signal="screen_exited" from="VerificateurVisibilite" to="." method="_quand_verificateur_visibilite_detecte_sortie_ecran"]
|