|
@@ -24,3 +24,7 @@ shape = SubResource( 1 )
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
scale = Vector2( 2, 2 )
|
|
|
texture = ExtResource( 1 )
|
|
|
+
|
|
|
+[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
|
|
|
+rect = Rect2( -32, -32, 64, 64 )
|
|
|
+[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]
|