private void UpdateMonitors() { var pools = Pooling.GetPools(); poolData.Clear(); foreach (var pool in pools) { poolData.Add(new PoolData(pool.Key.name, pool.Value.activeObjectCount, pool.Value.inactiveObjectCount)); } Repaint(); }