예제 #1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.gameObject.tag == "Hazard")
     {
         robotDeaths += 1;
         //SceneManager.LoadScene(SceneManager.GetActiveScene().name);
         botControler.DoDeath();
     }
 }