更新 ground 在 editor 表现

This commit is contained in:
cakipaul 2025-08-04 16:12:08 +08:00
parent 028464e743
commit 88f3c75314

View File

@ -72,9 +72,9 @@ func _ready() -> void:
print("restarting: skip ground _ready()") print("restarting: skip ground _ready()")
return return
_validate_scene_name() _validate_scene_name()
_set_camera_and_player_boundary()
if Engine.is_editor_hint(): if Engine.is_editor_hint():
return return
_set_camera_and_player_boundary()
_setup_scene() _setup_scene()
_setup_runtime() _setup_runtime()
_arrange_nodes_to_group(self) _arrange_nodes_to_group(self)