コード例 #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Rover"))
     {
         target = other.transform;
         line.SetActive(true);
         robot.DetectPlayer();
     }
 }