We need to connect one NavMeshSurface component to another one:
- Locate, via the editor or code, two NavMeshSurface components to connect
- Add the NavMeshLink component to the object that will work as the origin
- Select the agent type that will be able to use the connection
- Set the Start Point and End Point values
- Repeat the previous steps for every agent type for which you need to connect the nodes