Пример #1
0
 private void Awake()
 {
     Paddle1.SetActive(false);
     Paddle2.SetActive(false);
     Ball.SetActive(false);
     Walls.SetActive(false);
     Texts.SetActive(false);
     Resetbtn.SetActive(false);
 }
Пример #2
0
 private void StartGame()
 {
     Paddle1.SetActive(true);
     Paddle2.SetActive(true);
     Ball.SetActive(true);
     Walls.SetActive(true);
     Texts.SetActive(true);
     Startbtn.SetActive(false);
     Quitbtn.SetActive(false);
 }