SceneTree.reloadCurrentScene

Reloads the currently active scene. Returns constant OK on success, constant ERR_UNCONFIGURED if no currentScene was defined yet, constant ERR_CANT_OPEN if currentScene cannot be loaded into a PackedScene, or constant ERR_CANT_CREATE if the scene cannot be instantiated.

struct SceneTree
@nogc nothrow
GodotError
reloadCurrentScene
()

Meta