Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Remove(in HierarchyNode)

Removes a node from the hierarchy.
Read time 1 minuteLast updated 11 days ago

Definition

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

Remove(HierarchyNode)

public bool Remove(in HierarchyNode node)

Parameters

The hierarchy node to remove.

Returns

Type

Description

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