Documentation

Unity Engine

Download Unity

Unity Engine

SetRoot(in HierarchyNode)

Sets the root of the hierarchy view model.
Read time 1 minuteLast updated 2 months ago

Definition

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

SetRoot(HierarchyNode)

public void SetRoot(in HierarchyNode node)

Parameters

The hierarchy node to use as the visual root of the view model.

Remarks

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