HierarchyCommandList.SetParent

Declaration

public bool SetParent(ref Unity.Hierarchy.HierarchyNode node, ref Unity.Hierarchy.HierarchyNode parent);

Parameters

node The hierarchy node to set a parent for.
parent The hierarchy node to set as the parent node.

Returns

bool true if the command was appended to the list, false otherwise.

Description

Sets the parent node of a hierarchy node.


Did you find this page useful? Please give it a rating: