Skip to content

EntityWorld.GetTotalPoolCount(Type) Method

Definition

Namespace: Brine2D.ECS

Returns the combined entity count across all pools whose component type is assignable to componentType \(including itself\).

C#
internal int GetTotalPoolCount(System.Type componentType);

Parameters

componentType System.Type

Returns

System.Int32