コード例 #1
0
 private void OnTriggerEnter(Collider other)
 {
     //stop timer once finish line is hit
     if (other.CompareTag("Player"))
     {
         timerScript.CancelInvoke();
     }
 }