private void Awake() { Paddle1.SetActive(false); Paddle2.SetActive(false); Ball.SetActive(false); Walls.SetActive(false); Texts.SetActive(false); Resetbtn.SetActive(false); }
private void StartGame() { Paddle1.SetActive(true); Paddle2.SetActive(true); Ball.SetActive(true); Walls.SetActive(true); Texts.SetActive(true); Startbtn.SetActive(false); Quitbtn.SetActive(false); }