public void Clear() { if (gameObject.activeSelf) { gameObject.SetActive(false); spawner.IncreaseInactiveBalls(); } }