Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetValue(in HierarchyNode, out T)

Gets the value associated with the specified HierarchyNode.
Read time 1 minuteLast updated 12 days ago

Definition

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

TryGetValue(HierarchyNode, T)

public bool TryGetValue(in HierarchyNode node, out T value)

Parameters

The hierarchy node.

value

T
The value.

Returns

Type

Description

bool
true
if the HierarchyNodeMapUnmanaged<T> contains the specified HierarchyNode,
false
otherwise.