SetParent(in HierarchyNode, in HierarchyNode)
Sets the parent node of a hierarchy node.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
SetParent(HierarchyNode, HierarchyNode)
public bool SetParent(in HierarchyNode node, in HierarchyNode parent)
Parameters
The hierarchy node to set a parent for.
The hierarchy node to set as the parent node.
Returns
Type | Description |
|---|---|
| bool | |