public void nextRepeat() { // playButton.gameObject.SetActive(true); tapScript = TapScript.GetComponent <DetectTaps>(); TapScript.SetActive(true); tapScript.enabled = true; }
public void startGame() { btnPlay.gameObject.SetActive(false); Debug.Log("Starting the game"); tapScript = TapScript.GetComponent <DetectTaps>(); TapScript.SetActive(true); tapScript.enabled = true; }