mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
added a built-in scene changer API, closes #1928
This commit is contained in:
parent
2696ecb769
commit
b6b346e8ae
8 changed files with 128 additions and 4 deletions
|
|
@ -1248,7 +1248,8 @@ bool Main::start() {
|
|||
|
||||
ERR_EXPLAIN("Failed loading scene: "+local_game_path);
|
||||
ERR_FAIL_COND_V(!scene,false)
|
||||
sml->get_root()->add_child(scene);
|
||||
//sml->get_root()->add_child(scene);
|
||||
sml->add_current_scene(scene);
|
||||
|
||||
String iconpath = GLOBAL_DEF("application/icon","Variant()""");
|
||||
if (iconpath!="") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue