Skip to content

Commit 09c0b20

Browse files
authored
Merge pull request godotengine#7744 from graydwarf/patch-1
Update upgrading_to_godot_4.rst - Adding conversion example for change_scene()
2 parents 3604a90 + fc42538 commit 09c0b20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tutorials/migrating/upgrading_to_godot_4.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ table to find its new name.
432432
- ParticleProcessMaterial's ``set_flag()`` is now ``set_particle_flag()``.
433433
- ResourceFormatLoader's ``get_dependencies()`` is now ``_get_dependencies()``
434434
(note the leading underscore, which denotes a virtual method).
435+
- SceneTree's ``change_scene()`` is now ``change_scene_to_file()``.
435436
- Shortcut's ``is_valid()`` is now ``has_valid_event()``.
436437
- TileMap's ``world_to_map()`` is now ``local_to_map()``.
437438
- TileMap's ``map_to_world()`` is now ``map_to_local()``.

0 commit comments

Comments
 (0)