文档

Unity Engine

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.
阅读时间1 分钟最后更新于 2 个月前

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.