using Godot; namespace Game.Extensions; public static class NodeExtensions { public static Main GetMain(this Node node) { return node.GetTree().CurrentScene as Main; } }