private void DestroyBall(bool isLeft) { SoundManagerScript.PlayGateHit(); Destroy(gameObject); if (GameMode.AIEnable) { GameMode.AITurn = false; } ball.CreateNewBall(isLeft); }