void OnTriggerEnter(Collider col) { if (col.tag == "Player") { Debug.Log("Player finished"); gameManager.CompleteLevel(); timerScript.stopTimer(); } }
public void otherToMain() { timerScript.stopTimer(); focusCanvas.SetActive(false); mainCanvas.SetActive(true); }