Skip to content

DeferredList.FindPendingAdd(Func) Method

Definition

Namespace: Brine2D.ECS

Returns the first pending-add item that matches predicate, or default if none match. O\(n\) over pending adds only. Used by callers that need to find a not-yet-committed item without requiring a ProcessChanges() call first.

C#
public T? FindPendingAdd(System.Func<T,bool> predicate);

Parameters

predicate System.Func<T,System.Boolean>

Returns

T