Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveChildren(in HierarchyNode)

Recursively removes all children of a node.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

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.