文档

Unity Engine

Unity Engine

SetName(in HierarchyNode, string)

Sets a name for a hierarchy node.
阅读时间1 分钟最后更新于 1 个月前

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.