2 ms·
In the docs for Node.remove_child(Node node)[1] it says "Removes a child node. The node is NOT deleted and must be deleted manually." Do you still have to que
by benjaminjackman 4y ago
In the docs for Node.remove_child(Node node)[1] it says
"Removes a child node. The node is NOT deleted and must be deleted manually."
Do you still have to queue_free the top node that was removed from the tree, or else how is it being deleted. Or is there a different method to call for removing it from the tree.
BTW: I really like the `_init` / `_enter_tree` / `_ready` / `_exit_tree` lifecycle as was described.
1:https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-remove-child https://docs.godotengine.org/en/stable/classes/class_node.ht...
- lewispollard 4y agoqueue_free removes the node from the tree and frees it. remove_child just deactivates it, but keeps it around in memory for later.