Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRoot(in HierarchyNode)

Sets the root of the hierarchy view model.
Read time 1 minuteLast updated 12 days ago

Definition

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

SetRoot(HierarchyNode)

public void SetRoot(in HierarchyNode node)

Parameters

The hierarchy node.

Remarks

This is purely visual and does not affect the underlying hierarchy data.