SetParent(in HierarchyNode, in HierarchyNode)
Sets the parent node of a hierarchy node.
阅读时间1 分钟最后更新于 1 天前
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 | |