Merge pull request #63596 from Jayman2000/issue-27640

Rename `change_scene()` and `change_scene_to()`
This commit is contained in:
Rémi Verschelde
2022-09-08 09:22:03 +02:00
4 changed files with 17 additions and 13 deletions

View File

@ -358,8 +358,8 @@ public:
void set_current_scene(Node *p_scene);
Node *get_current_scene() const;
Error change_scene(const String &p_path);
Error change_scene_to(const Ref<PackedScene> &p_scene);
Error change_scene_to_file(const String &p_path);
Error change_scene_to_packed(const Ref<PackedScene> &p_scene);
Error reload_current_scene();
Ref<SceneTreeTimer> create_timer(double p_delay_sec, bool p_process_always = true, bool p_process_in_physics = false, bool p_ignore_time_scale = false);