기술 자료

Unity Engine

Unity Engine

TryAdd(in HierarchyNode, in T)

Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged<T>.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

TryAdd(HierarchyNode, T)

public bool TryAdd(in HierarchyNode node, in T value)

Parameters

The hierarchy node.

value

T
The value.

Returns

Type

Description

bool
true
if the HierarchyNode/value pair was added to the HierarchyNodeMapUnmanaged<T>,
false
otherwise.