Add PolyNav 2D support for movement components.
PolyNav 2D is a polygonal based 2D pathfinding solution and available in the Asset Store. The script adds the PolyNav 2D Agent component type to movement component settings (e.g. in the Move To Interaction settings in Base/Control > Game Controls).
This script is available for free, the latest version is 1.0.1.
Adding the Script #
Before importing the script into your Unity project, make sure you’ve got Makinom and PolyNav 2D imported in it. You’ll need at least Makinom 2.14.0 and PolyNav 2D 1.7.2.
The script will be imported into Assets/Gaming Is Love/Makinom 2/Plugins/Scripts/, but you can move it to a different location if you want.
After importing, you have the PolyNav 2D Agent component type is available in movement component selections.