// Show the next bar public void changeBars() { if (currentBarIndex < 3) { bars [currentBarIndex].SetActive(false); currentBarIndex += 1; bars [currentBarIndex].SetActive(true); hitManager.offTarget(); } }