文档

Unity Engine

Unity Engine

Contains(in HierarchyNode)

Determines if a specified node is in the hierarchy flattened.
阅读时间1 分钟最后更新于 1 天前

Definition

Contains(HierarchyNode)

public bool Contains(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

bool
true
if the node is found,
false
otherwise.