示例#1
0
 public void OnTriggerEnter(Collider2D other)
 {
     if (other.tag == "Edge")
     {
         enemy.changeDirection();
     }
 }