projectboost/general/utils.cs

7 lines
No EOL
171 B
C#

using Godot;
static class DeferredCalls {
public static void ReloadCurrentScene(this Node node) {
node.GetTree().CallDeferred("reload_current_scene");
}
}