ドキュメント

Unity Engine

Unity Engine

TryAdd(in HierarchyNode, in T)

Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged<T>.
読み終わるまでの所要時間 1 分最終更新 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.