コード例 #1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.tag == "Player")
     {
         Debug.Log("Player finished");
         gameManager.CompleteLevel();
         timerScript.stopTimer();
     }
 }
コード例 #2
0
 public void  otherToMain()
 {
     timerScript.stopTimer();
     focusCanvas.SetActive(false);
     mainCanvas.SetActive(true);
 }