예제 #1
0
 void Update()
 {
     if (Player.lose == false)
     {
         detectClicks.SetActive(false);
         settings.SetActive(false);
         allsphere.SetActive(true);
         NameGame.SetActive(false);
         TapToplay.SetActive(false);
     }
 }
예제 #2
0
 void OnDisable()
 {
     if (Player.lose == false)
     {
         detectClicks.SetActive(true);
         settings.SetActive(true);
         allsphere.SetActive(false);
         NameGame.SetActive(true);
         TapToplay.SetActive(true);
         buy.SetActive(false);
         select.SetActive(false);
     }
 }