GDNative - How to compare nodes?
I'm porting my codebase of my game from GDScript to C++ (mostly because I prefer C++). I have an issue where, when my character dies, I need to take every child node of the character and delete it, unless it's the AnimatedSprite or Camera2D. Here's the GDScript that achieved this task: for child in...