public void ActivateExplosive() { if (BallController.verticalDirection == -1) { pooling.InitializeObstacles(-8.0f); } else { pooling.InitializeObstacles(15f); pooling.leftLastObject = pooling.leftObstacleArray[0]; pooling.rightLastObject = pooling.rightObstacleArray[0]; } }