Object.GetComponentInChildren alternate for Godot 4.2? (C#)

Godot Version

Godot 4.2

Question

It would be useful to get a node from the base node even if it’s deep in the tree being inside of other nodes. By ‘GetComponentInChildren’ I’m simply trying to get an instance of a node in a simple way, i don’t exactly understand their component system much yet

It’s just like a filesystem.

There is find_child but will be slower then a direct nodepath with get_node, or $nodepath.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.