Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveNode(AccessibilityNode, bool)

Removes the node from the hierarchy. Can also optionally remove nodes under the given node depending on the value of the removeChildren parameter.
Read time 1 minuteLast updated 16 days ago

Definition

public void RemoveNode(AccessibilityNode node, bool removeChildren = true)

Parameters

The node to remove.

removeChildren

Default value is
true
. If removeChildren is
false
, Unity grafts the child nodes to the parent.