How Godot handles C# system.object

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Whit3Wr4i1h

Hello,
I’m using C# for scripting.
I know that Godot don’t manage memory of classes derived from Godot.Object and you have to free them manually. Reference-derived classes are reference counted. But i can’t find information about classes made outside Godot’s inheritance tree, how Godot handles them? Is there garbage collector involved? I am using these classes for data containers, is it generally good practice? Or should I use only Godot-provided classes and inherit only from them?

Can you concretize your Question? Did you run into an issue?

juppi | 2020-06-19 18:01