HierarchyViewModel(HierarchyFlattened, HierarchyNodeFlags)
Constructs a new HierarchyViewModel from a flattened hierarchy.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
public HierarchyViewModel(HierarchyFlattened hierarchyFlattened, HierarchyNodeFlags defaultFlags = HierarchyNodeFlags.None)
Parameters
The flattened hierarchy that serves as the hierarchy model.
The default flags used to initialize new nodes.