Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetName(in HierarchyNode, string)

Sets a name for a hierarchy node.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

SetName(HierarchyNode, string)

public bool SetName(in HierarchyNode node, string name)

Parameters

The hierarchy node.

name

The name of the node.

Returns

Type

Description

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