コード例 #1
0
 private void OnTriggerEnter(Collider other)
 {
     animator.SetBool("IsOnTrigger", true);
     aiPath.canMove = false;
     aiPath.Teleport(other.GetComponent <Transform>().position);
     Debug.Log("2222222");
 }