Using GDscript addon class in C#

Godot Version

4.5.1

Question

Hey everyone,

I downloaded a pretty cool addon (RicherTextLabel) that works well in the editor.

However, I can’t find any references to this class when I’m trying to instantiate a Node of this class in my C# scripts.

I usually can instantiate custom-made nodes that I created in C# via [GlobalClass] (works both in editor and in code), but I never tried (and obviously never succedeed) to use a GDScript addon class in C#.

Edit: I’m using JetBrains Rider with Godot integration, and still the RicherTextLabel can’t be resolved as a type

Anyone who made that happen ?

Rider will have no knowledge of non-C# types, nor will the C# compiler, so it makes perfect sense that you wouldn’t be able to do that.
The documentation goes into a bit more detail about how this should be done, see:

Thanks, I’ll check the documentation on cross-language scripting.
I didn’t know this section existed