RedditPP Mascot

RedditPP

r/godot • … • u/Neither_Berry_100

C# code without a node???

[Solved]

Is it possible to create C# code or scripts without extending the node class? I would prefer to extend as little as possible, so as to reduce overhead. I have some 16,000 class instances that are needed, so it is important that I don't have overhead.

I would prefer a solution that doesn't involve using C. I also want to use C# classes, and not an array class, which would give up the advantages of OOP.

EDIT:

Ty. All I had to do was delete ": Node" aka inherits node. I swear I got an error when I tried it the first time. Something along the lines of "Expecting Node"

— 0