Environment adapter uses portal group

This commit is contained in:
Vojta committed 2025-02-13 20:54:03 +01:00
1 parent cbb4b51a94
commit b67f0d9263
3 files changed
+9 -5

No files matched your search

@@ -63,6 +63,9 @@ var _exit_camera:Camera3D
# The number of seconds until the viewport updates its size
var _seconds_until_resize:float
func _enter_tree() -> void:
add_to_group("portals")
func _ready() -> void:
if not is_inside_tree():
push_error("The portal \"%s\" is not inside a SceneTree." % name)