Пример #1
0
 private void AddToPool(Ball ball)
 {
     ball.gameObject.SetActive(false);
     _pool.Add(typeof(Ball), ball);
 }