Browse Source

Merge pull request #7744 from graydwarf/patch-1

Update upgrading_to_godot_4.rst - Adding conversion example for change_scene()
Matthew 2 years ago
parent
commit
09c0b2060f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 0
tutorials/migrating/upgrading_to_godot_4.rst

@@ -432,6 +432,7 @@ table to find its new name.
 - ParticleProcessMaterial's ``set_flag()`` is now ``set_particle_flag()``.
 - ParticleProcessMaterial's ``set_flag()`` is now ``set_particle_flag()``.
 - ResourceFormatLoader's ``get_dependencies()`` is now ``_get_dependencies()``
 - ResourceFormatLoader's ``get_dependencies()`` is now ``_get_dependencies()``
   (note the leading underscore, which denotes a virtual method).
   (note the leading underscore, which denotes a virtual method).
+- SceneTree's ``change_scene()`` is now ``change_scene_to_file()``.
 - Shortcut's ``is_valid()`` is now ``has_valid_event()``.
 - Shortcut's ``is_valid()`` is now ``has_valid_event()``.
 - TileMap's ``world_to_map()`` is now ``local_to_map()``.
 - TileMap's ``world_to_map()`` is now ``local_to_map()``.
 - TileMap's ``map_to_world()`` is now ``map_to_local()``.
 - TileMap's ``map_to_world()`` is now ``map_to_local()``.