private void ResetAllFlyingBalloons() { foreach (var balloon in _flyingBalloons) { balloon.Reset(); _pool.Release(balloon); } _flyingBalloons.Clear(); }
public void Reset() { foreach (var stone in _stonesById.Values) { stone.Reset(); _stonePool.Release(stone); } _stonesById.Clear(); }