文档

Unity Engine

Unity Engine

CollectElements(HashSet<GraphElement>, Func<GraphElement, bool>)

Retrieves a set of graph elements that match a specified condition. The graph elements are collected from the elements associated with implementor of this interface.
阅读时间1 分钟最后更新于 1 个月前

Definition

void CollectElements(HashSet<GraphElement> collectedElementSet, Func<GraphElement, bool> conditionFunc)

Parameters

collectedElementSet

The set of matching graph elements.

A function that determines whether a graph element is added to the set of matching graph elements.