namespace Godot.SourceGenerators.Sample; [GlobalClass] public partial class CustomGlobalClass : GodotObject { } // This doesn't works because global classes can't have any generic type parameter. /* [GlobalClass] public partial class CustomGlobalClass : Node { } */