Code Reference‎ > ‎SpawnPool‎ > ‎

.Count()

int Count()

Description
The number of spawned instances in the pool.

if (PoolManager.Pools["Enemies"].Count == 0)
    Debug.Log("The pool is empty.")