Answers for "godot delete all child nodes"

0

godot delete all child nodes

static func _delete_children(node):
	for n in node.get_children():
		node.remove_child(n)
		n.queue_free()
Posted by: Guest on April-06-2021
0

clear all children godot

static func delete_children(node):
    for n in node.get_children():
        node.remove_child(n)
	n.queue_free()
Posted by: Guest on November-30-2020

Code answers related to "godot delete all child nodes"

Browse Popular Code Answers by Language