Ejemplo n.º 1
0
 public void PlayLevel()
 {
     initialCanvas.SetActive(false);
     gameCanvas.SetActive(true);
     mobileCanvas.SetActive(true);
     uiCamera.transform.gameObject.SetActive(false);
     gameCamera.transform.gameObject.SetActive(true);
     gameController.GetComponent <Invector.vGameController>().enabled = true;
     PuzzleTimer.StartTimer();
 }
Ejemplo n.º 2
0
 private void OnTriggerExit(Collider other)
 {
     if (other.gameObject.CompareTag("Ball"))
     {
         if (start == true)
         {
             timer.StartTimer();
         }
         else if (end == true)
         {
             timer.StopTimer();
         }
     }
 }