Skip to content

EntityQuery.TryGetPoolCount(int) Method

Definition

Namespace: Brine2D.ECS.Query

Fast path for Count()/Any(): returns the pool count directly when the query has a single required component, IncludeInactive() is set, and no other filters would reduce the result set.

C#
private bool TryGetPoolCount(out int count);

Parameters

count System.Int32

Returns

System.Boolean