Navigation2D uses Unity's built-in Navigation system to make 2D pathfinding possible without any axis rotations.
Navigation2D使用Unity的内置导航系统,使2D寻路成为可能,不需要任何轴的旋转
Usage:
1. Make 2D Colliders static
2. Go to Navigation2D, select Bake
3. Use NavMeshAgent2D to move
Components:
* Uses built in BoxCollider2D
* Uses built in CircleCollider2D
* Uses built in EdgeCollider2D
* Uses built in PolygonCollider2D
* Uses built in TilemapCollider2D
* Wraps NavMeshAgent for 2D
* Wraps NavMeshObstacle for 2D