Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Retrieves a set of graph elements that match a specified condition. The matching graph elements are selected from this group.
Read time 1 minuteLast updated 8 days ago

Definition

public 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.