예제 #1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.tag == "Player")
     {
         Debug.Log("Player finished");
         gameManager.CompleteLevel();
         timerScript.stopTimer();
     }
 }