I am currently trying new features of version 4.1 (.net). A particularly nice one is the new [GlobalClass] attribute that makes C# classes available in the node selection.
Unfortunately, this does not work here, for example:
public interface IEntity { }
[GlobalClass]
public partial class Entity : Node { }
[GlobalClass]
public partial class EntityCharacterBody2D : CharacterBody2D, IEntity { }
[GlobalClass]
public partial class EntityNode2D : Node2D, IEntity { }
No class appears in the node selection, even after restarting the editor.
Before I open a bug, I wanted to ask if anyone has had other experiences?
I am working on Win11 with Visual Studio Community 2022 version 17.6.4