debugSfxPoolActiveCount property

  1. @visibleForTesting
int get debugSfxPoolActiveCount

How many SFX players _sfxPool currently considers "in use" — must be back to 0 once every in-flight playSfx call has finished; a stuck non-zero value would mean a call acquired a player and never released it.

Implementation

@visibleForTesting
int get debugSfxPoolActiveCount => _sfxPool.activeCount;