Study Notes for beginners, please correct me if you have any mistakes. The number is also please point out, thank you.
The detach grid link (Off-mesh links) is used to create a path between non-linked navigation areas, which we can interpret as a "portal"
Create a new empty game object named off Mesh Link left in the lower right corner of the terrain
Create a new empty game object named off Mesh Link right in the lower left corner of the terrain
After baking off mesh link left and off mesh link right is displayed in two black dots with a black line link
Finally, create a new empty game object and name it off mesh link to add the off Mesh link component and specify start as off mesh link left,end to off mesh link right
Running the scene, the cylinder navigation agent moves to the off mesh link right after moving to the off-mesh link and finally to the end
Off-mesh Links Parameters
Start: Start
End: End point
Cost Overide: Weight is less than 0 o'clock, cost is the cost of the navigation type set in the Navigation area column below, the value is greater than or equal to 0 o'clock the burden of the link, the default is-1
Bi-directional: Whether it is a two-way link, default activation
Activated: activation, default activation
Auto Update positions: Active, the off Mesh Link is automatically updated each time the start and end points are adjusted. Do not activate, adjust start and end points after the off Mesh Link is not updated
Navigation area:off Mesh Link Zone type
Navigation system--03 separating grid links