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(); }
private void OnTriggerExit(Collider other) { if (other.gameObject.CompareTag("Ball")) { if (start == true) { timer.StartTimer(); } else if (end == true) { timer.StopTimer(); } } }