文档

Unity Engine

Unity Engine

TryGetValue(in HierarchyNode, out T)

Gets the value associated with the specified HierarchyNode.
阅读时间1 分钟最后更新于 7 小时前

Definition

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.