node | The node to remove. |
removeChildren | Default value is true . If removeChildren is false , Unity grafts the child nodes to the parent. |
Removes the node from the hierarchy. Can also optionally remove nodes under the given node depending on the value of the removeChildren parameter.