기술 자료

Unity Engine

Unity Engine

SetSortIndex(in HierarchyNode, int)

Sets the sorting index for a hierarchy node.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

SetSortIndex(HierarchyNode, int)

public bool SetSortIndex(in HierarchyNode node, int sortIndex)

Parameters

The hierarchy node to set a sorting index for.

sortIndex

The sorting index.

Returns

Type

Description

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