Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetState(Content)

Gets the current viewstate of the HierarchyView.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule
public HierarchyViewState GetState(HierarchyViewState.Content content = Content.All)

Parameters

content

Flags indicating what HierarchyViewState members you want to extract.

Returns

Type

Description

HierarchyViewStateReturns the current view state (columns configurations and such) of the HierarchyView.