Queues a node for deletion at the end of the current frame. When deleted, all of its child nodes will be deleted as well. This method ensures it's safe to delete the node, contrary to GodotObject.free. Use GodotObject.isQueuedForDeletion to check whether a node will be deleted at the end of the frame.
Queues a node for deletion at the end of the current frame. When deleted, all of its child nodes will be deleted as well. This method ensures it's safe to delete the node, contrary to GodotObject.free. Use GodotObject.isQueuedForDeletion to check whether a node will be deleted at the end of the frame.