Documentation

Unity Engine

Download Unity

Unity Engine

RemoveChildren(in HierarchyNode)

Recursively removes all children of a node.
Read time 1 minuteLast updated 6 hours ago

Definition

RemoveChildren(HierarchyNode)

public bool RemoveChildren(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

bool
true
if the command was appended to the list,
false
otherwise.